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

Creating a Form Button

Sometimes all you need is a simple button. The following pages are pretty useful tools for...

Why is the server load status red?

The server load status will be red if the server is under a little more stress than usual. This...

osCommerce password reset

How to reset your osCommerce admin login... You can reset your osCommerce administrative login...

Error 401 Unauthorized

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

Adding a Facebook Button

Facebook has a wonderful page on adding a Facebook image to your website complete with...