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 can I make search engine friendly urls with my app?

The best source is the support forums for the particular app. You can also check the following...

I can not move out of the / directory, why not?

For security reasons, you cannot move out of the root folder of your own domain.

“Not Secure” Web Error

In this day and age browsers now default to using https:// instead of http://. We make SSL...

Can I change my username?

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

Domain Slamming - Beware

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