php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24277 invalid command 'php_flag'
Submitted: 2003-06-21 05:00 UTC Modified: 2003-06-23 17:46 UTC
From: brunet at mouloud dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.3.2 OS: RedHat 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brunet at mouloud dot com
New email:
PHP Version: OS:

 

 [2003-06-21 05:00 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-21 05:39 UTC] elmicha@php.net
Can you please show us the line with the php_flag and the exact error message?

 [2003-06-21 14:54 UTC] 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-23 17:46 UTC] iliaa@php.net
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 ;)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 11:01:32 2024 UTC