Bug 78586 - Invalid command php_flag
Invalid command php_flag
Product: Red Hat Linux
Classification: Retired
Component: php (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-11-25 19:05 EST by Need Real Name
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-11-29 05:59:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-11-25 19:05:26 EST
From Bugzilla Helper:

User-Agent: Mozilla/4.0 (compatible; MSIE 5.14; Mac_PowerPC)

Description of problem:

Placing any php_flag  options in a .htaccess file produces the following 
error in the server log.

Invalid command 'php_flag'

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:

1.Create a .htaccess file with any php_flag option such as php_flag 
display_errors On

2.view site



Actual Results:  500 internal server error

Expected Results:  website displays with display errors on

Additional info:
Comment 1 Joe Orton 2002-12-04 04:03:38 EST
This is fixed in php-4.2.2-10 - thanks for the report.
Comment 2 Need Real Name 2002-12-04 13:46:54 EST
Where do I get an rpm for this version of php?
Comment 3 Joe Orton 2002-12-09 09:05:38 EST
Either from a local Raw Hide mirror, or from http://people.redhat.com/jorton/.
Comment 4 Mark J. Cox 2003-02-05 03:40:19 EST
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

Comment 5 Francesco Amelio 2003-03-07 12:35:24 EST
How can i disable php engine to certain virtualhost or directory now 
that "php_flag" and "php_value" is disabled.?

In the older version i used "php_flag engine off"

Note You need to log in before you can comment on or make changes to this bug.