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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux