#44625 [Bgs]: php.ini doesn't show changed variable value for extension_dir and include_path

From: Date: Thu, 03 Apr 2008 14:12:52 +0000
Subject: #44625 [Bgs]: php.ini doesn't show changed variable value for extension_dir and include_path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-123927@lists.php.net to get a copy of this message
 ID:               44625
 Updated by:       jani@php.net
 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:

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".


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

[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



Thread (16 messages)

« previous php.bugs (#123927) next »