Disable error_log via .htaccess

Prevent public display of PHP errors via htaccess

# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0

Disable (log) your site’s PHP errors via htaccess

php_flag  log_errors off

  • 132 Users Found This Useful

Was this answer helpful?

Related Articles

Do you support TeamSpeak?

We do not support Teamspeak on our servers but allow you to create a subdomain such as...

How can I change the default page / document?

Create a .htaccess file, include the below information into it and upload it to the public_html...

I can not move out of the / directory. Why not?

For security reasons, you cannot move out of the root folder of your own domain.

How can I make search engine friendly urls with my app?

The best source is the support forums for the particular app. You can also check the following...

Add Flash Chat to your Website

We ran into this website recently which allows you to easily insert a flash chat room into your...