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?