#43653 [Opn->Bgs]: imagecreatefromjpeg error

From: Date: Fri, 21 Dec 2007 14:12:20 +0000
Subject: #43653 [Opn->Bgs]: imagecreatefromjpeg error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-120799@lists.php.net to get a copy of this message
ID: 43653 Updated by: pajoye@php.net Reported By: xfreelancer at yahoo dot com -Status: Open +Status: Bogus Bug Type: GD related Operating System: CentOS PHP Version: 5.2.5 -Assigned To: +Assigned To: pajoye New Comment: "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 26320 bytes) in /home/test.php on line 4" Increase your memory limit (memory_limit ini settings) if you like to read large images. Previous Comments: ------------------------------------------------------------------------ [2007-12-21 13:46:29] xfreelancer at yahoo dot com Description: ------------ Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 26320 bytes) in /home/test.php on line 4 Reproduce code: --------------- $ims=imagecreatefromjpeg("90-9bb2.jpg"); Expected result: ---------------- $ims is not created and a fault error is generated. Actual result: -------------- Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 26320 bytes) in /home/test.php on line 4 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43653&edit=1

« previous php.bugs (#120799) next »