#19076 [Opn]: php.ini settings ignored

From: Date: Tue, 27 Aug 2002 08:12:09 +0000
Subject: #19076 [Opn]: php.ini settings ignored
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17919@lists.php.net to get a copy of this message
ID: 19076 User updated by: loren@siebert.org Reported By: loren@siebert.org Status: Open Bug Type: Apache2 related Operating System: RH7.3 PHP Version: 4CVS-2002-08-23 New Comment: By pure accident, I stumbled on the term "php_admin_value". By replacing all occurrences of "php_" with "php_admin_" in my httpd.conf file, suddenly my old php_value's and php_flag's were recognized. Everything that was broken suddenly was unbroken. I am guessing that php_value and php_flag were changed to their php_admin cousins sometime after 2.0.36 in Apache, or after 4.2.1 in PHP. I'm not sure where that would happen (Apache2 or PHP), or how all my searches missed this, or where I should have expected to have been notified! Somebody please tell me so I do not do this again. Just to make sure this issue is Bogus and not still Open, I am leaving it Open and letting someone else Close it or set it to Bogus. Previous Comments: ------------------------------------------------------------------------ [2002-08-23 23:20:00] loren@siebert.org No, php_flag does not work either. I tried it with register_globals to no avail. Any other ideas? ------------------------------------------------------------------------ [2002-08-23 13:51:29] msopacua@idg.nl Argh - that's because the phpbuilder thread was windows - so ignore that. Then it should work. Can you see if php_flag does work? ------------------------------------------------------------------------ [2002-08-23 13:36:40] loren@siebert.org My DocumentRoot (and every other value) uses Unix-style forward slashes, as I am on Linux. I'm not sure how backslashes on DocumentRoot affect php_value's in <VirtualHost> from being recognized all of the sudden. ??? ------------------------------------------------------------------------ [2002-08-23 13:32:38] msopacua@idg.nl Another user also reported this issue, for another platform. But to make absolutely sure it's something in the php_value handling, please verify whether your DocumentRoot uses the windows path syntax - ie backslashes, not forward slashes. ------------------------------------------------------------------------ [2002-08-23 13:22:24] loren@siebert.org I could have sworn I compiled 2.0.40 with 4.2.2 (with the various sapi hacks) and didn't see this problem (I saw others that made me try 4.3.0-dev). However, I am beginning to think it is an Apache problem. Upon further investigation, I see that the value from php.ini *is* recognized, but the php_value override in the <VirtualHost> directive is ignored for some reason. Perhaps this functionality was dropped out of 2.0.40 accidentally? ------------------------------------------------------------------------ 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/19076 -- Edit this bug report at http://bugs.php.net/?id=19076&edit=1

« previous php.bugs (#17919) next »