ID: 44625
User updated by: anilb36 at hotmail dot com
Reported By: anilb36 at hotmail dot com
Status: Bogus
Bug Type: Apache2 related
Operating System: Windows Vista Home Premium
PHP Version: 5.2.5
New Comment:
Here is the relevant phpinfo() o/p
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\php\php.ini
It shows the correct values in here but doesn't load the values that
are in this file and ext dir still shows c:\php5 instead of
c:\php\ext.Can you let me know where this c:\php5 is being picked up
from ? That is the whole issue.I have also emailed you the local config
and o/p if it makes sense.
Previous Comments:
------------------------------------------------------------------------
[2008-04-03 14:12:52] jani@php.net
For all users out there: phpinfo() has the information of actual used
php.ini file, found in the very first block. "Loaded configuration
file", below the "Configuration File (php.ini) Path".
------------------------------------------------------------------------
[2008-04-03 13:37:29] anilb36 at hotmail dot com
There is no variable _which_php.ini in phpinfo o/p.Can you pls
elaborate. Is this a hidden sys variable like _FILE_ that i need to
echo.
Have you checked and are sure that there is no php.ini load issue on
Env => Windows Vista Home Premium / PHP 5.2.5 / Apache 2.2.8 ?
------------------------------------------------------------------------
[2008-04-03 11:09:18] jani@php.net
Check in phpinfo() output _which_ php.ini file is actually loaded. This
is no bug.
------------------------------------------------------------------------
[2008-04-03 06:04:03] anilb36 at hotmail dot com
Description:
------------
Sys Config : Windows Vista Home Premium / PHP 5.2.5 / Apache 2.2.8
The changed values in php.ini doesn't get reproduced thru phpinfo()
even after saving the file to %WINDIR% with admin privs as suggested on
some sites eg. extension_dir still shows c:\php5 although php installed
in c:\php.
Is version 5.2.5 regression tested on the above env or is there some
workaround available for above issue ?
Reproduce code:
---------------
settings in php.ini config
extension_dir = C:/php/ext/
O/P of phpinfo()
Directive Local Value Master Value
extension_dir C:\php5 C:\php5
include_path .;c:\php\pear .;c:\php\pear
og_errors Off Off
Other changed values are also not taking effect at runtime like error
logging being set to on to debug further.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44625&edit=1