php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #26125 php.ini location in phpinfo() is not where the php4sapi.dll looks for it
Submitted: 2003-11-04 18:35 UTC Modified: 2004-08-10 14:42 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:2 of 3 (66.7%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: nickh at supportteam dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.3.3 OS: Windows Server 2003
Private report: No CVE-ID: None
 [2003-11-04 18:35 UTC] nickh at supportteam dot net
Description:
------------
Under Windows Server 2003 when I run a phpinfo() it says the Configuration File Path is C:\WINDOWS.  I was having trouble with the sessions path and when running a filemon capture (sysinternals filemon) I saw it was auctually looking for the ini in C:\Windows\system32\inetsrv.  Placing the ini there fixed the problem.  It appears that the ISAPI version of PHP4  .3.3 says the INI should be in one place but it looks for it elsewhere.  I have tested this on 4 different Windows Server 2003 Standard servers that we have and it's the same on all 3.

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-06 14:56 UTC] sniper@php.net
This gives a bit of a hint why:
http://www.php.net/manual/en/faq.installation.php#faq.installation.phpini

With IIS, the search propably starts where it's binary is located at. I haven't got w2k3 so I can't really test this.



 [2003-11-06 18:18 UTC] nickh at supportteam dot net
Nope.  The php binary is found in e:\php on this particular server.  By Default, PHP has always looked (by always, I mean on all 2000 Server installs I've done) in the c:\winnt or c:\windows, whichever you installed to.  It is behaving differently under 2003.  Eventhough phpinfo says c:\windows, it's not.
 [2004-08-10 14:42 UTC] nlopess@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 19:01:28 2024 UTC