|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-01-08 09:06 UTC] mkoppanen@php.net
[2008-01-08 10:23 UTC] mkoppanen@php.net
[2008-01-08 12:01 UTC] andy at diginights dot com
[2008-01-08 12:35 UTC] mkoppanen@php.net
[2008-01-08 19:17 UTC] andy at diginights dot com
[2008-01-08 19:33 UTC] andy at diginights dot com
[2008-01-10 08:56 UTC] mkoppanen@php.net
[2008-01-10 09:14 UTC] mkoppanen@php.net
[2008-01-10 09:35 UTC] andy at diginights dot com
[2008-01-10 12:08 UTC] andy at diginights dot com
[2008-01-10 12:50 UTC] scottmac@php.net
[2008-01-10 14:19 UTC] andy at diginights dot com
[2008-01-10 14:23 UTC] mkoppanen@php.net
[2008-01-10 14:30 UTC] andy at diginights dot com
[2008-01-11 07:07 UTC] mkoppanen@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 14:00:01 2025 UTC |
Description: ------------ Hi there, We got problems executing some imagick php script: Running the attached php script works with the php-cli, running it through apache doesn't work. The apache worker quits with an "apache2: Memory allocation failed `Cannot allocate memory'" error. Machine is a Debian 64 bit system, running kernel 2.6.22-3-amd64. apache2.2.6-2 php-5.2.4-2 Server has a total amount of 8GB ram and its sure that there is enough memory left Thank you Reproduce code: --------------- <? $img = new Imagick('test.jpg'); // remove exif information to save a few bytes $img->profileImage("*", null); $img->writeImage('test2.jpg'); ?> Expected result: ---------------- script should generate an "test2.jpg" image without exif information Actual result: -------------- With the php-cli everything works, running through apache, apache is exiting with apache2: Memory allocation failed `Cannot allocate memory'