How do I hide any PHP errors on my website?
Article Number: 2571 | Rating: Unrated | Last Updated: Tue, Jul 24, 2012 9:47 AM
If you are still testing your website and you don’t want people to see any possible PHP errors, you can create a .htaccess file with the following flag:
php_flag display_errors off
If you would like to see the PHP errors again, you can change off to on.
php_flag display_errors on
There are no attachments for this article.
How do I track problems in my PHP website?
Viewed 2300 times since Fri, Jan 21, 2011
Is Zend Guard/Optimizer supported?
Viewed 1333 times since Mon, Jul 23, 2012
Can I use PHP on IIS 7 (Windows hosting)?
Viewed 1964 times since Tue, Nov 18, 2008
Is ionCube Encoder/Loader supported?
Viewed 1923 times since Thu, Jul 19, 2012
How do I recognize PHP pages/scripts?
Viewed 2678 times since Tue, Nov 18, 2008
Install Joomla 2.5
Viewed 11422 times since Mon, Apr 30, 2012
Is Zend Engine supported?
Viewed 2980 times since Mon, Jul 23, 2012
Where can I find the PHP manual?
Viewed 1622 times since Tue, Nov 18, 2008