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

Default Nameservers

If you have signed up for an Ultra 1x, Ultra Unlimited, or Ultra Unlimited Pro plan the following...

How do I create a helpdesk ticket?

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

Redirect http to https and www

To forward a website to use both www. and https:// use the following in an .htaccess file:...

https:// with Weebly

To enable and force https:// with your Weebly website, be sure to go into your editor area,...

Domain Slamming - Beware

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