ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] #39432 [Opn->Csd]: PHP does not check c:\php for php.ini even though it's in the path
by nlopess other posts by this author
Nov 9 2006 7:49AM messages near this date
[PHP-DOC] cvs: phpdoc /en/install ini.xml /en/install/windows iis.xml manual.xml | [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions glob.xml
ID:               39432
 Updated by:       nlopess@[...].net
 Reported By:      aren at cambre dot biz
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Windows Server 2003 SP1
 PHP Version:      5.2.0
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2006-11-08 15:51:53] aren at cambre dot biz

I take back what I said. You have a documentation error.

From http://us2.php.net/manual/en/install.windows.iis.php: "Modify the
Windows PATH environment variable to include the PHP directory. This
way the PHP DLL files, PHP executables, and php.ini can all remain in
the PHP directory without cluttering up the Windows system directory.
For more details, see the FAQ on Setting the PATH."

I thought I wasn't smoking crack. :-)

------------------------------------------------------------------------

[2006-11-08 15:44:17] aren at cambre dot biz

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.

------------------------------------------------------------------------

[2006-11-08 15:34:59] tony2001@[...].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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved