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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to