php.ini not loaded

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I installed Apache 2.2 and PHP 5.24 on a Win 2003 Server. Everything
runs fine, but the php.ini is not loaded.

phpinfo() tells me

Configuration File (php.ini) Path  C:\WINDOWS
Loaded Configuration File  (none)

The path is correct and the php.ini-file is located in c:\windows. The
rights are set and -just to be careful- the PHPRC-enviroment-var. is
set to c:\windows (actually needless, since phpinfo shows the correct

I've searched the net but found no answer - any idea?


Re: php.ini not loaded

Answering my own question for other victims...

In the http.conf the PhpIniDir was set to "C:\PHP" but phpinfo()
labels "C:\WINDOWS" as the Configuration File Path anyway!!!! So don't
rely on phpinfo()... ;-)

Site Timeline