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

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
davidb2002
Posts: 37
Joined: 2008-09-01T08:31:26-07:00

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

Post by davidb2002 » 2014-09-23T11:35:35-07:00

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

    <?php
    $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

    <?php
    $image = new Imagick();
    $image->newImage(100, 100, new ImagickPixel('red'));
    $image->setImageFormat('png');
    
    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?

Post Reply