#21387 [Opn->Fbk]: Some configuration directives in php.ini are ignored

From: Date: Mon, 03 Feb 2003 14:51:48 +0000
Subject: #21387 [Opn->Fbk]: Some configuration directives in php.ini are ignored
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31985@lists.php.net to get a copy of this message
ID: 21387 Updated by: sniper@php.net Reported By: stepan.rybar@taskforce.cz -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: MS Windows NT 5.1 (XP) PHP Version: 4.3.0 New Comment: Does the extension_dir setting cause this? Previous Comments: ------------------------------------------------------------------------ [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()? ------------------------------------------------------------------------ [2003-01-15 22:17:54] paulcuciureanu@yahoo.com same problem with version 4.3.1-dev (XP, Apache 2) all the directives are ignored from my php.ini file. I have even deleted the php.ini file and phpinfo() still returned output - the default one. ------------------------------------------------------------------------ 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 (#31985) next »