/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
How to display PHP errors in the browser for debugging when you don't have access to the servers php.ini file or the servers log files. Insert the below PHP code into the PHP file you want to debug, then this will report all PHP errors to the browser when accessing the PHP page. error_reporting(E_ALL); ini_set("display_errors", 1);
URL: http://support.aiso.net/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=223