#24277 [Opn->Bgs]: invalid command 'php_flag'
| From: | iliaa@php.net | Date: | Mon, 23 Jun 2003 22:46:20 +0000 |
| Subject: | #24277 [Opn->Bgs]: invalid command 'php_flag' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42387@lists.php.net to get a copy of this message | ||
ID: 24277
Updated by: iliaa@php.net
Reported By: brunet at mouloud dot com
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: RedHat 7.2
PHP Version: 4.3.2
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
You should be using:
php_flag register_globals 0
Also, make sure php is loaded ;)
Previous Comments:
------------------------------------------------------------------------
[2003-06-21 14:54:49] brunet at mouloud dot com
This is the error :
Syntax error on line 1457 of /etc/httpd/conf/httpd.conf:
Invalid command 'php_flag', perhaps mis-spelled or defined
by a module not included in the server configuration
And this is the line 1457 :
php_flag register_globals off
I didn't change anything in my httpd.conf, and it was
working before I switch to PHP 4.3.2
The only difference is tha I install openSSL and imap and
compiled PHP with imap support.
------------------------------------------------------------------------
[2003-06-21 05:39:55] elmicha@php.net
Can you please show us the line with the php_flag and the exact error
message?
------------------------------------------------------------------------
[2003-06-21 05:00:01] brunet at mouloud dot com
Description:
------------
I was using php 4.2.1 with apache 1.3.22, and it was
working fine. But i updated php to 4.3.2, and now, apache
give me an error for the 'php_flag' command in the
httpd.conf.
I see over the web a lot of message about this error, but
with older version of php and / or apache. And it's seems
to be corrected by an update. But this is the last version
of php, and a very recent version of apache.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24277&edit=1