How can I see the errors in my PHP script?
Posted: Fri Jun 01, 2012 5:00 pm
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:
Save this file as ".htaccess" and place it in your website folder. This will turn on the inline errors from PHP.
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