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
There are no attachments for this article.
Related Articles
Can I use PHP on IIS 7 (Windows hosting)?
Viewed 1787 times since Tue, Nov 18, 2008
Where can I find the PHP manual?
Viewed 1544 times since Tue, Nov 18, 2008
Is ionCube Encoder/Loader supported?
Viewed 1836 times since Thu, Jul 19, 2012
How does the connection between PHP and MSSQL work?
Viewed 4364 times since Mon, Jul 23, 2012
Install Joomla 2.5
Viewed 11340 times since Mon, Apr 30, 2012
Is Zend Engine supported?
Viewed 2884 times since Mon, Jul 23, 2012
Which PHP version is installed on the server? Which modules are available?
Viewed 2757 times since Tue, Nov 18, 2008
What is PHP?
Viewed 2225 times since Thu, Nov 27, 2008
How do I send mail from my website using PHP?
Viewed 11932 times since Mon, Nov 9, 2009
How do I track problems in my PHP website?
Viewed 2215 times since Fri, Jan 21, 2011