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 401 Unauthorized

This can occur when a web page requires authorization or a login to view the contents. If none...

403 Error on POST

This can occur for several reasons: Be sure your file permissions are correct. If the file needs...

Howto: Add another website to your account

You can add another website to your hosting account if your hosting plan allows for more than one...

Point Multiple Domains to the Same Website

Pointing other domains to your website is easy! Simply make sure their DNS settings are pointing...

Reseller: Unable to find an IP address in when creating an account

When creating accounts be sure to select a package in the package field. You can create a package...