Page 1 of 1

How can I see the errors in my PHP script?

Posted: Fri Jun 01, 2012 5:00 pm
by Vanderburg
display_errors is disabled by default in our php.ini file, but you can enable it just for your server using a .htaccess file.

To do this, open a new text document and place inside of it:

Code: Select all

php_value error_reporting 7
php_flag display_errors On
Save this file as ".htaccess" and place it in your website folder. This will turn on the inline errors from PHP.