#19076 [Com]: php.ini settings ignored

From: Date: Mon, 16 Sep 2002 20:31:08 +0000
Subject: #19076 [Com]: php.ini settings ignored
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19492@lists.php.net to get a copy of this message
ID: 19076 Comment by: sbernard@mouzaia.com Reported By: loren@siebert.org Status: Open Bug Type: Apache2 related Operating System: RH7.3 PHP Version: 4CVS-2002-08-23 New Comment: Ok, rasmus, you win. On windows xp sp1, apache 2.0.4 and php 4.2.3, my register_globals=On did not work. In uninstalled apache and reinstall a 1.3.xx, and suddenly, everything is bright. Thanks for you advice below. Previous Comments: ------------------------------------------------------------------------ [2002-08-27 04:12:08] loren@siebert.org 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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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 (#19492) next »