Bug #16629 Updated: php_flag not working and php_value strange behavior
| From: | jwoolley@php.net | Date: | Fri, 17 May 2002 05:21:37 +0000 |
| Subject: | Bug #16629 Updated: php_flag not working and php_value strange behavior | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7891@lists.php.net to get a copy of this message | ||
ID: 16629
Updated by: jwoolley@php.net
Reported By: katana@katana-inc.com
-Status: Open
+Status: Closed
Bug Type: Apache2 related
-Operating System: Windows XP
+Operating System: All
-PHP Version: 4.2.0
+PHP Version: 4.2.1
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
I just applied a patch for this. Thanks for the report!
The patch is at
http://cvs.php.net/diff.php/php4/sapi/apache2filter/apache_config.c?r1=1.20&r2=1.21&ty=u
Previous Comments:
------------------------------------------------------------------------
[2002-05-16 03:34:28] php@rawhide.cjb.net
Same.
Win XP
Apache 2.0.35
PHP 4.2.1
------------------------------------------------------------------------
[2002-05-10 03:12:09] plamendp@bgstore.com
The same here:
FreeBSD 4.6-PRERELEASE (~ 01 May 2002)
PHP 4.2.0
Apache 2.0.35
php_flag in .htaccess produces an error by means of unrecognized
command or something.
php_value works fine.
regards
------------------------------------------------------------------------
[2002-05-04 01:43:54] sabiokah@videotron.ca
got no error message by adding
<IfModule mod_php4.c>
php_flag register_globals on
</IfModule>
However.. it has no effect at all.
I tried to change the name for mod_php4.c to php4_module
,mod_php3.c,mod_php42.c but it seem that since with
apache2 we dont need to specify AddModule mod_php4.c
I dont know if its appache that doesnt go in the If Statement or if it
is the php module that ignore the
apache directive.
It only work with php_value outside the if statement.
as mentionned by katana.
Im using Linux-Apache2.0.35 with php4.2.0
------------------------------------------------------------------------
[2002-04-28 22:04:19] jmt@twilley.org
I also have this problem under FreeBSD with Apache 2.0.35 and
PHP/4.3.0-dev, and I have a working patch. I don't know where to sedn
it or how to attach it. If someone could email me where to send it,
I'll send it.
------------------------------------------------------------------------
[2002-04-26 17:47:09] rubberneck@wwisp.com
Same problem on Linux machine running apache 2.0.35 with FINAL release
of php 4.2.0
------------------------------------------------------------------------
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/16629
--
Edit this bug report at http://bugs.php.net/?id=16629&edit=1