You are here: Re: Browser and CMD line report different php.ini locations « PHP Programming Language « IT news, forums, messages
Re: Browser and CMD line report different php.ini locations

Posted by Shelly on 10/07/41 11:22

"Scott F" <sdfATexpertuneDOTcom> wrote in message
news:Xns96A04A731FF8Dsdfexpertunecom@216.168.3.44...
> Using IIS 5, PHP 5 on Windows Server 2000.
>
> Running
> php.exe -r "phpinfo();"
> from the command line shows
> Configuration File (php.ini) Path => C:\php\php.ini
>
> Running phpinfo() from a browser through IIS shows
> Configuration File (php.ini) Path C:\WINNT
>
> There is no php.ini in the C:\WINNT directory.
>
> This still occurs after restarting IIS with
>
> net stop iisadmin
> net start w3svc
>
> What needs to be changed so php.ini is picked up by IIS?
>
> Scott

I had the same thing happen when I started a local copy of php/Apache. I
resolved with a "what the heck" and copied the php.ini to winnt so it would
find it in either place. Hack? Yes. Works? yes.

Shelly

 

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

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