#19076 [Com]: php.ini settings ignored
| From: | msopacua at idg dot nl | Date: | Fri, 23 Aug 2002 17:32:39 +0000 |
| Subject: | #19076 [Com]: php.ini settings ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17684@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:
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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2002-08-23 12:58:16] rasmus@php.net
So, since you say it is not an Apache2 issue, I assume you have
verified that it also doesn't work in Apache1? Since I am pretty sure
it does, I am reclassifying this to an Apache2 issue.
------------------------------------------------------------------------
[2002-08-23 12:53:32] loren@siebert.org
Note: I am not reporting the popular 2.0.40 bug issues--- this is
different.
I can no longer get some php.ini settings (auto_prepend_file,
register_globals) to be recognized from either php.ini or Apache
php_value settings, and I can't use ini_set() as a workaround.
I'm using 2.0.40 with php4-200208230600 with this config:
#! /bin/sh
#
# Created by configure
'./configure' \
'--with-zlib' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--with-mysql' \
'--with-gd=/usr/local/gd' \
'--with-png-dir=/usr/lib' \
'--with-freetype-dir=/usr/local' \
'--with-jpeg-dir=/usr/lib' \
'--enable-gd-native-ttf' \
'--with-xml=/usr/lib' \
"$@"
This behavior seems new to 4.3.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19076&edit=1