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

  • 132 Users Found This Useful

Was this answer helpful?

Related Articles

How can I tell how much disk space I have available?

To see how much disk space you have available, go to your control panel and on the left side of...

Can you write a script for me?

We do not write scripts but will be more than happy to guide you in the right direction. Most the...

How do I create a helpdesk ticket?

You may create a helpdesk ticket at any time by visiting https://my.ultrawebhosting.com and...

How do I submit my site to search engines?

Submit your website to popular search engines to increase your webite's exposure and visitor...

Reseller: Unable to find an ip address in when creating an account.

When creating accounts be sure to select a package in the package field. You can create a package...