#19076 [Com]: php.ini settings ignored
| From: | msopacua at idg dot nl | Date: | Fri, 23 Aug 2002 17:51:29 +0000 |
| Subject: | #19076 [Com]: php.ini settings ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17686@lists.php.net to get a copy of this message | ||
ID: 19076
Comment by: msopacua@idg.nl
Reported By: loren@siebert.org
Status: Open
Bug Type: Apache2 related
Operating System: RH7.3
PHP Version: 4CVS-2002-08-23
New Comment:
Argh - that's because the phpbuilder thread was windows - so ignore
that.
Then it should work. Can you see if php_flag does work?
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2002-08-23 13:09:13] loren@siebert.org
Someone else commented
(http://www.phpbuilder.com/board/showthread.php?s=&threadid=10207264&perpage=15&pagenumber=1)
that this behavior exists in Apache1.3.x for 4.3.0-dev. I originally
was trying to upgrade from 2.0.36+4.2.1 to 2.0.40+4.3.0-dev to get
around the setcookie() bug that arises from multiple calls to
setcookie. Although that bug is fixed (yay!), I now see this weird
behavior with some of the php config settings.
------------------------------------------------------------------------
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