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 do I create a helpdesk ticket?

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

Change your Websites Favorite Icon

How to change your website's icon for your internet browser. Create a 16x16 pixel icon image...

How do I cancel my account?

We are sorry to hear you would like to cancel your account! If there is anything we can do,...

How do I parse html files as shtml?

Create an .htaccess file in the directory needed and add the following: AddHandler...

Why can I not ping my domain?

For security purposes we have closed off the ICMP port which is used for ping.