#19076 [Opn]: php.ini settings ignored

From: Date: Sat, 24 Aug 2002 03:20:00 +0000
Subject: #19076 [Opn]: php.ini settings ignored
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17736@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: No, php_flag does not work either. I tried it with register_globals to no avail. Any other ideas? Previous Comments: ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ [2002-08-23 13:14:23] rasmus@php.net Sorry, that reference says that it also doesn't work in PHP 4.2 which it obviously does. It's still an Apache2 related issue I bet. ------------------------------------------------------------------------ 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 (#17736) next »