JV Thrina has been released. Please login and follow this link to download JV Thrina template and related extensions. If you don't have account yet, please click here to Sign up

How to turn off PHP errors, notices and warnings within .htaccess

Rate this item
(3 votes)

Last month we released a post called How to disable notice and warning in PHP.ini file which show you how to turn off PHP errors, notices and warnings within php.ini file. Today we want to show you another solutions to turn off PHP errors, notices and warnings within .htaccess file

PHP errors, notices, and warnings may be turned off by adding the following code within a website’s .htaccess file:

php_flag display_errors off

Besides potentially interfering with a website’s visual appearance, it is generally not a good idea to display errors, notices, and warnings within a production environment for security reasons, since the error messages may provide useful information on a server / website’s configuration, and thus how to circumvent its security measures.

More in this category: « Firefox 3.6 has been released

3 comments

Leave a comment

JV Twitter Update

Developed by JoomVision.com

Affiliate Program

Are you a webmaster and do you want to make money from selling joomla templates? Here at the JoomlaVision Affiliate Program you can find the best affiliate program for your website. You will earn 20% in commission on every sale you refer from your website. Our program is free to join, it's easy to sign-up and requires no technical knowledge. Affiliate programs are common throughout the Internet and offer website owners a means of profiting from their websites. Affiliates generate sales for commercial websites and in return receive a percentage of the value of those sales.

NewsLetter Signup

Sign up for our Newsletter to know important updates about Joomla and JoomlaVision.

Payment Methods

We accept the following forms of payment:

PayPal

You are here: Home Blog Blog How to turn off PHP errors, notices and warnings within .htaccess
Back to Top