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

How do I hide my domain WHOIS information?

If you do not wish to have your contact information shown when someone does a WHOIS report on...

Inode issues

There are many issues that can arise from reaching your inode limit. The inode limit is the total...

Point my domain to my wix account

How can I point my domain name to my wix.com account?To set this up you will want to login to...

Installing an SSL Certificate in cPanel

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

Why do I get emails for cron jobs?

This is the default. If you would like to disable receiving emails when a cron job runs append...