Re: error messages

From: Date: Fri, 05 Oct 2007 05:44:16 +0000
Subject: Re: error messages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-262786@lists.php.net to get a copy of this message
On Thu, 2007-10-04 at 22:38 -0700, tbt wrote: > I'm a newbie to php and i would like to know a way of viewing runtime errors > on the browser. Currently when an error occurs nothing is displayed on the > browser. Is there any way of viewing all error messages on the browser > itself. > You can up the error_reporting level in your php.ini, or you can simply put the following line at the top of your script: ini_set("error_reporting", "E_ALL"); or for an even stricter setting: ini_set("error_reporting", "E_STRICT"); --Paul

« previous php.general (#262786) next »