Page 1 of 1

[notice] Parent: child process exited with status 255 -- Res

Posted: 2014-09-23T11:35:35-07:00
by davidb2002
I'm having a problem trying to load a local image into Image Magick and thus troubleshooting a timeout (no returned error) issue and have found that it occurs when I run the following:

Code: Select all

    $image = new Imagick('C:/wamp/www/mysite/files/1411326295.jpg');
Here are some details regarding my setup:
Windows 7 64bit
WAMPServer 2.2
Apache 2.2.11
PHP Version
5.3.13 ImageMagick 6.8.6-6 2013-07-16 Q16
I have confirmed that image magick works by running the following:

Code: Select all

    $image = new Imagick();
    $image->newImage(100, 100, new ImagickPixel('red'));
    header('Content-type: image/png');
PHP error log shows no errors. Apache error log gives:
[notice] Parent: child process exited with status 255 -- Restarting.
I thought this might be something to do with memory, so I added the following, which didn't improve anything:

Code: Select all

    ini_set('max_execution_time', 10000);//you can change this limit
    ini_set("memory_limit", "6400M");//you can change this limit
I've checked that the file has correct permissions (as much as you can in Windows) and the file does exist.

Any ideas what might be the cause or other things to check?