No error reporting on
| From: | Dotan Cohen | Date: | Mon, 23 Apr 2012 17:39:41 +0000 |
| Subject: | No error reporting on | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-317650@lists.php.net to get a copy of this message | ||
Given this code:
error_reporting(-1);
$image = imagecreatefromjpeg($source); // Crashes on a big image
I would expect some type of message, but there is none in either the
HTML output nor the httpd error_log. How can I get information about
crashes?
Thanks.
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com