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 to use SharedSSL

SharedSSL is now available with our Ultra Unlimited. It is not as professional looking as having...

Convert PDF to HTML Service

To convert your PDF files to html try using the following converter tool from Adobe:...

When should I use ascii and when should I use binary?

Many FTP client programs support and auto mode to detect the proper upload type based on file...

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

How do I customize error messages for my site?

Within control panel select Custom Error Pages. Select the error code link and place whatever...