ID: 43675
User updated by: xfreelancer at yahoo dot com
Reported By: xfreelancer at yahoo dot com
Status: Open
Bug Type: GD related
Operating System: CentOS
PHP Version: 5.2.5
New Comment:
I already increased the memory_limit to 128M.
The result:
"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried
to allocate 26320 bytes)"
However, it is not normal to receive such an error in case of a ~1mb
photo.
The only code is $ims=imagecreatefromjpeg($path);
Where can I send the file with the photo for more debug ?
Previous Comments:
------------------------------------------------------------------------
[2007-12-26 00:49:15] 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 should contain the jpg photo.
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=43675&edit=1