httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Bakshi" <joyd...@infoservices.in>
Subject [users@httpd] Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
Date Tue, 03 Mar 2009 05:57:50 GMT
Dear list,

I like to suppress the error messages from my live site. That's why I
have added the following in my .htaccess

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

But after putting these lines My site gives 500 internal server error.
If I comment these lines then everything is OK. I have checked the log
during the 500 error and it shows

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Invalid command 'php_flag', perhaps mis-spelled or defined by a module
not included in the server configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Is there any misconfiguration in the syntax I have put there ?

Please suggest.
Thanks

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message