I have tried using steps for installing ImageMagick from How to install ImageMagick for WAMP 2.5 and from Where to find php_imagick.dll for php 5.5.12 for Windows wampserver 2.5?. I am using Windows 10 and WAMP 2.5 with PHP 5.5.12. I install using ImageMagick-7.0.3-3-Q16-x64-dll.exe and have tried using a few of this
- php_imagick-3.1.2-5.5-nts-vc11-x64
- php_imagick-3.1.2-5.5-nts-vc11-x64
- php_imagick-3.2.0b1-5.5-nts-vc11-x64
- php_imagick-3.4.3rc1-7.0-nts-vc14-x64
All of them still get me Fatal error: Class 'Imagick' not found in C:\wamp\www\test.php on line 19 from testing if imagemagick is working using these codes
<?php
$im = new Imagick();
$im->newPseudoImage(100, 100, "magick:rose");
$im->setImageFormat("png");
$im->roundCorners(5,3);
$type=$im->getFormat();
header("Content-type: $type");
echo $im->getimageblob();
?>
I have put the CORE_RL files into C:\wamp\bin\apache\apache2.4.9\bin and php_imagick.dll to here: C:\wamp\bin\php\php5.5.12\ext\ please help!