Telenet Cloud Online Help

How do I hide any PHP errors on my website?

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
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Related Articles
Is Zend Engine supported?
Viewed 2769 times since Mon, Jul 23, 2012
Can I use PHP on IIS 7 (Windows hosting)?
Viewed 1655 times since Tue, Nov 18, 2008
How do I track problems in my PHP website?
Viewed 2129 times since Fri, Jan 21, 2011
How do I send mail from my website using PHP?
Viewed 11665 times since Mon, Nov 9, 2009
What is PHP?
Viewed 1876 times since Thu, Nov 27, 2008
Is Zend Guard/Optimizer supported?
Viewed 1116 times since Mon, Jul 23, 2012
Install Joomla 2.5
Viewed 10949 times since Mon, Apr 30, 2012
Are PDO and SQLite supported on the shared hosting?
Viewed 1951 times since Tue, Jul 24, 2012
How do I recognize PHP pages/scripts?
Viewed 2512 times since Tue, Nov 18, 2008
Where can I find the PHP manual?
Viewed 1467 times since Tue, Nov 18, 2008