Tuesday, November 19, 2013

How do I show PHP errors on a webpage?

In your /etc/php.ini file, add the following:

error_reporting(E_ALL);
ini_set('display_errors', 'on');

No comments: