You are here: Re: PHP Scripts to run in another directory with IIS « PHP Language « IT news, forums, messages
Re: PHP Scripts to run in another directory with IIS

Posted by shimmyshack on 09/09/07 08:11

On Sep 9, 3:18 am, "Jammer677" <richard_perrea...@hotmail.com> wrote:
> I would like to have PHP for windows run in another directory than
> c:\inetpub\wwwroot. I have tride changeing parameters in php.ini in my
> c:\php directory. But nothing changes. When I run the phpinfo() I always get
> Configuration File (php.ini) Path as c:\windows. But I do not have the
> php.ini file there. Is there something I am doing wrong or is it a bug.
>
> I tried renameing the php.ini file and reseting the IIS and believe it or
> not my scripts still work in c:\inetpub\wwwroot.

either is it or is not in c:\windows, put junk in the php.ini file you
are adjusting, does php fail?
try copying a php.ini into c:\windows does it report there is one
already?
you can serve php from any directory, but you will probably need to
adjust your SERVER settings because the document root is server
specific, if you were running apache it would be a text file change,
IIS its just a few right clicks.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация