HowTo disable PHP errors using htaccess on a shared hosting
Hi wp fans
I am trying to disable PHP errors using the .htaccess file. I am on a shared hosting provider. Currently I am using this code:
php_flag display_errors off
php_value error_reporting 0
but I get “Internal Server Error” message.
The thing is that I use this code on my local server (apache) and it works just fine. But on the shared host I get that message.
Is there any other way to disable those PHP errors under a shared host or is there any other code to use ?
I will greatly appreciate your response and I thank you in advance.
- The topic ‘HowTo disable PHP errors using htaccess on a shared hosting’ is closed to new replies.