#46091 [Opn]: php.ini not found in C:\windows
ID: 46091
User updated by: linda_petty at shelter dot org dot uk
Reported By: linda_petty at shelter dot org dot uk
Status: Open
Bug Type: Windows Installer
Operating System: windows 2003 SP2
PHP Version: 5.2.6
New Comment:
on the 1st line of description I said
windows 2003 (SP4)
I meant (SP2)
Previous Comments:
------------------------------------------------------------------------
[2008-09-16 09:07:34] linda_petty at shelter dot org dot uk
Description:
------------
Installing AMP on windows 2003 (SP4).
I found a BUG in this version of the windows PHP,
apparently in the installer:
PHP Version 5.2.6 (5.2 build 3790).
We found the installation went fine on XP with this installer.
BUT on windows 2003 (SP2)I found these values on the PHPINFO page
after install:
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: (none)
PHP had IGNORED my PHP.ini file which, as instructed by the install
documentation, I had carefully placed in C:\WINDOWS
I found it would only load my php.ini file if I placed it in
C:\PHP5 (which is the default install directory).
Once the php.ini file was in C:\PHP5, after restarting Apache,
at last I see:-
Loaded Configuration File C:\PHP5\php.ini
quite a timewaster! :0)
Reproduce code:
---------------
install with Zip installer on windows 2003 (SP2)
using install directory C:\PHP
to reproduce the problem
Expected result:
----------------
I would have expected
Loaded Configuration File C:\WINDOWS\php.ini
Actual result:
--------------
Loaded Configuration File: (none)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46091&edit=1
Thread (3 messages)