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

Can I change my username?

Usernames are setup in the manner for security. Most programs will allow you to save the...

When I upload an htaccess file it disappears

On unix/linux systems, files that start with a . are considered hidden so many ftp programs do...

How do I submit my site to search engines?

Submit your website to popular search engines to increase your webite's exposure and visitor...

How do I remove a web disk?

In Windows, go to My Network Places on your PC, find the connection, right click and delete....

What are some tools are available to optimize my website?

There are many great tools to optimize your website. There is an optimize tool in your hosting...