[notice] Parent: child process exited with status 255 -- Res
Posted: 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:
Here are some details regarding my setup:
PHP error log shows no errors. Apache error log gives:
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?
Code: Select all
<?php
$image = new Imagick('C:/wamp/www/mysite/files/1411326295.jpg');
?>
I have confirmed that image magick works by running the following:Windows 7 64bit
WAMPServer 2.2
Apache 2.2.11
PHP Version
5.3.13 ImageMagick 6.8.6-6 2013-07-16 Q16
Code: Select all
<?php
$image = new Imagick();
$image->newImage(100, 100, new ImagickPixel('red'));
$image->setImageFormat('png');
header('Content-type: image/png');
?>
I thought this might be something to do with memory, so I added the following, which didn't improve anything:[notice] Parent: child process exited with status 255 -- Restarting.
Code: Select all
ini_set('max_execution_time', 10000);//you can change this limit
ini_set("memory_limit", "6400M");//you can change this limit
Any ideas what might be the cause or other things to check?