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

Why does it show the Ultra Web Hosting home page when I go to my site?

There are several reasons for this. Ensure you do not have https at the beginning of your...

Point Multiple Domains to the Same Website

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

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

How do I parse html files as shtml?

Create an .htaccess file in the directory needed and add the following: AddHandler...

Add Flash Chat to your Website

We ran into this website recently which allows you to easily insert a flash chat room into your...