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

Convert PDF to HTML Service

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

Password Protect Directories

Within control panel select Password Protection. Select the directory you would like to protect....

Setting up Zend Framework

When setting up Zend Frameworks in your hosting account be sure to upload your frameworks folder...

Sub-Domain times out

When you add a sub-domain and it times out make sure you do not have redirection set from that...

Show longer file names in directory/folder index

If you've ever wanted to show longer file names in your directory listing just create or edit an...