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

Posted by Scott F on 10/30/47 11:22

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

 

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

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