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

  • 136 Users Found This Useful

Was this answer helpful?

Related Articles

Error 404 - File Not Found

Files are case sensitive. Make sure you are typing the address in correctly. Verify that the...

Do you support TeamSpeak?

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

View your website in older browser versions

As developers and webmasters it is always important to make sure your website works in several...

Domain Slamming - Beware

There are several companies out there using a predatory practice of attempting to have you renew...

Installing an SSL Certificate in cPanel

To start, the website requires a dedicated IP. If you do not have one, you may order the...