PHP 4.0 Bug #8633 Updated: phpinfo() output different from php.exe -i
| From: | sniper@php.net | Date: | Wed, 17 Jan 2001 11:24:25 +0000 |
| Subject: | PHP 4.0 Bug #8633 Updated: phpinfo() output different from php.exe -i | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44350@lists.php.net to get a copy of this message | ||
ID: 8633
Updated by: sniper
Reported By: boyan@numberonemm.com
Old-Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Assigned To:
Comments:
User error -> bogus.
Previous Comments:
---------------------------------------------------------------------------
[2001-01-17 05:09:00] boyan@numberonemm.com
Original report:
>>System - Windows 2000 Pro 2195 (the same applies to WinNT 4.0 Srv SP6)
Webserver Xitami 2.4.d7 service (the same applies to Xitami 2.5.b.4 service and GUI)
Useed the installation package php-4.0.4-win32.zip, not the source code.
A simple PHP file with only phpinfo() in it produces some info.
This result doesn't represent the changes that I made to php.ini, which is located in the
same dir as php.exe.
However, when running php.exe -i, everything is listed correctly. And what is more
important, the changes in php.ini seem to be taken into account.
I can send php.ini, the result of phpinfo() and the result of php.exe -i, if necessary.
Seems to me that this is the reason people were claiming the php.ini doesn't get read (for
example, bug 6306, 5824, 5178)
>>
Turned out to be REALLY, REALLY STUPID error of mine. I've forgotten to copy the modified
php.ini to %systemroot%, although it is explicitly said in the documentation.
Therefore, when running php.exe -i, it read the modified .ini from its dir and displayed the new
info, but when running any php file from within a web server, the .ini file was looked after in
%systemroot%, not found and, consequently, the default values were used.
Sorry!
---------------------------------------------------------------------------
[2001-01-10 07:55:36] boyan@numberonemm.com
System - Windows 2000 Pro 2195 (the same applies to WinNT 4.0 Srv SP6)
Webserver Xitami 2.4.d7 service (the same applies to Xitami 2.5.b.4 service and GUI)
Useed the installation package php-4.0.4-win32.zip, not the source code.
A simple PHP file with only phpinfo() in it produces some info.
This result doesn't represent the changes that I made to php.ini, which is located in the same
dir as php.exe.
However, when running php.exe -i, everything is listed correctly. And what is more important, the
changes in php.ini seem to be taken into account.
I can send php.ini, the result of phpinfo() and the result of php.exe -i, if necessary.
Seems to me that this is the reason people were claiming the php.ini doesn't get read (for
example, bug 6306, 5824, 5178)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8633