#21387 [Com]: Some configuration directives in php.ini are ignored

From: Date: Mon, 03 Feb 2003 20:18:15 +0000
Subject: #21387 [Com]: Some configuration directives in php.ini are ignored
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32014@lists.php.net to get a copy of this message
ID: 21387 Comment by: simon@haptick.net Reported By: stepan.rybar@taskforce.cz Status: Feedback Bug Type: Scripting Engine problem Operating System: MS Windows NT 5.1 (XP) PHP Version: 4.3.0 New Comment: Yip, if extension_dir is anything other than what's in php-recommend.ini, then a range of directives revert to default (session_save_path reverts to /tmp, php.ini is set to c:/temp etc) Previous Comments: ------------------------------------------------------------------------ [2003-02-03 08:51:47] sniper@php.net Does the extension_dir setting cause this? ------------------------------------------------------------------------ [2003-02-03 08:46:29] stepan.rybar@taskforce.cz Work around: Stay in PHP 4.3.0 installation, just use php-dist.ini from PHP 4.2.3. You can modify php-dist.ini from 4.2.3 to be the same rules as RECOMMENDED php.ini. It works for me for months. Stepan ------------------------------------------------------------------------ [2003-02-03 08:39:16] simon@haptick.net I've been getting the same problem on NT4 with PHP 4.3.0. PHP is installed in c:\program files\php When setting extension_dir = c:/progra~1/php/extensions the extensions are loaded, but some configs are reset to default and php_info() reports extension_dir as "c:/progra" If no extensions are loaded and extension_dir left as ./ then configs are loaded correctly. I can't get it working for extensions, tried moving extensions to c:\exten etc, but no joy. Maybe a bigger brain can sort it :-) ------------------------------------------------------------------------ [2003-01-16 04:06:08] stepan.rybar@taskforce.cz > What is the output of "Configuration File (php.ini) Path" from the result of phpinfo()? ...C:\Windows\php.ini. The whole output of phpinfo() I have sent to edinkATphpDOTnet. The problem of ignoring some php directives from php.ini appears only if I use "recommended" php.ini. If I use "dist" php.ini from 4.2.3 version in 4.3.0, all is OK, even I am using recommended directives. ------------------------------------------------------------------------ [2003-01-16 03:51:21] edink@php.net Are you sure PHP is reading the correct ini file? What is the output of "Configuration File (php.ini) Path" from the result of phpinfo()? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21387 -- Edit this bug report at http://bugs.php.net/?id=21387&edit=1

« previous php.bugs (#32014) next »