#39432 [Bgs]: PHP does not check c:\php for php.ini even though it's in the path
ID: 39432
User updated by: aren at cambre dot biz
Reported By: aren at cambre dot biz
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows Server 2003 SP1
PHP Version: 5.2.0
New Comment:
I see that now, and I now agree with the bogus status. It was buried
pretty deeply at
http://us2.php.net/manual/en/configuration.php#configuration.file.
Previous Comments:
------------------------------------------------------------------------
[2006-11-08 15:34:59] tony2001@php.net
No bug here, PHP is not supposed to look for php.ini in PATH.
------------------------------------------------------------------------
[2006-11-08 15:22:17] aren at cambre dot biz
Description:
------------
I have used filemon (from sysinternals.com) to verify that php does not
even check C:\php for a php.ini file even though c:\php is in my path.
Here is my path statement:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program
Files\Intel\DMIX;C:\Program Files\Microsoft SQL
Server\80\Tools\Binn\;c:\Program Files\Microsoft SQL
Server\90\Tools\binn\;c:\php
I tried moving c:\php to the 4th item in the path statement, and that
didn't make a difference, either.
According to filemon, php is checking c:\windows\system32\inetsrv\ and
C:\windows\. I think that is bizarre because
c:\windows\system32\inetsrv\ isn't even in the path!
Expected result:
----------------
php should load php.ini out of c:\php.
Actual result:
--------------
php doesn't even check c:\php.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39432&edit=1
Thread (4 messages)