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

  • 134 Users Found This Useful

Was this answer helpful?

Related Articles

Domain Slamming - Beware

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

Adding HTML to Site Builder

When adding HTML code/source in site builders be sure you are in HTML mode. There is often a...

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...

Creating a Form Button

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

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...