php_flag not valid?
| From: | Steve Fox | Date: | Tue, 27 Aug 2002 19:46:14 +0000 |
| Subject: | php_flag not valid? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-114276@lists.php.net to get a copy of this message | ||
I'm using Apache 2.0.40 with PHP 4.2.2 from Red Hat Linux 8.0 beta 3
(null). php_value statements in my httpd.conf work fine, but php_value
is not recognized, giving the error message below:
Starting httpd: Syntax error on line 336 of /etc/httpd/conf/httpd.conf:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module
not included in the server configuration
I've tried enabling both AllowOverride Options and AllowOverride All to
no avail.
If I turn on /server-info support in Apache I see:
Module Name: sapi_apache2.c
Content handlers: none
Configuration Phase Participation: Create Directory Config, Merge
Directory Configs
Request Phase Participation: Post-Read Request
Module Directives:
php_value - PHP Value Modifier
php_admin_value - PHP Value Modifier
Current Configuration:
which doesn't show php_flag as supported.
Does anyone have any clues how this could happen? Is Red Hat's PHP
package messed up or am I missing some config thing somewhere?
Any help would be appreciated. Thanks.
--
Steve Fox
IBM Linux Technology Center
http://www.ibm.com/linux/ltc
http://k-lug.org