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

Is it possible to make a cron to backup my database at specific times?

Yes, this can be very useful for forum/message board sites with large databases. In your control...

Inode issues

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

https:// with Weebly

To enable and force https:// with your Weebly website, be sure to go into your editor area,...

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

Error 401 Unauthorized

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