php.ini not loaded

php.ini not loaded

am 09.10.2007 12:51:41 von Kai Hinkelmann

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
path...)

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

Thanks

Re: php.ini not loaded

am 09.10.2007 14:56:41 von Kai Hinkelmann

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()... ;-)