I need to use Imagick to convert an image using PHP on Xampp and Windows. I am getting this error: Class 'Imagick' not found
. These are the steps I took:
Downloaded Imagick dll and placed it in the
/ext
folder (the folder that loads the modules from php.ini)Enabled the extension in the php.ini
Added the other dll files that come with Imagick to the /php folder (they are in the correct directory because after placing them, the errors indicating they are missing were gone).
installed ImageMagick on the device.
checked
php -m
, and can see imagick in the list.checked
phpinfo()
for (imagick) still not available.
I have confirmed (from phpinfo) that the DLLs I am downloading match the build I have for php (PHP 5.5, x86, thread-secure, VC 11).
I still cannot get it to work. I have a feeling it is a mismatch between the downloaded modules and the server. My system is 64x but Apache and php are 86x (as seen from phpinfo).