adding Imagick in xampp

Liam Sorsby picture Liam Sorsby · Aug 30, 2013 · Viewed 8.3k times · Source

I have followed the following steps in http://bytehash.appspot.com/2012/02/Installing-imagick-for-php-in-windows-under-xampp i have downloaded the dll file for imagick and added this into xampp/php/ext folder and included it as follows: extension=php_imagick_ts.dll. I have also installed imagemagick and can confirm it is installed as i have run the following command:

C:\>convert -version
Version: ImageMagick 6.8.6-8 20
Copyright: Copyright (C) 1999-2
Features: DPC OpenMP
Delegates: bzlib djvu fftw font
ngo png ps tiff webp x xml zlib

when i restart apache through the xampp control panel the following errors come up:

the procedure entry point php_checkuid_ex could not be located in the dynamic link library php5ts.dll

and the following error message proceeds after:

PHP Startup: Unable to load dynamic library "C:\xampp\php\ext\php_imagick_ts.dll" - The specified procedure could not be found

If after this message i try to copy and paste the dynamic link library location - C:\xampp\php\ext\php_imagick_ts.dll and paste it into a document address bar it try to open the file

has anyone come accross this error? as i had the same issue when trying to install msql3 library or just simply uncommenting some of the other extensions in the php.ini file

Any advice would be great. Thanks

Answer

Syed Qarib picture Syed Qarib · Jan 13, 2014

It seems the problem is with the environment variables .. try to check the extension directory is there.

Here are few links which can help you setup environment variables:

http://www.computerhope.com/issues/ch000549.htm

http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path

Still, if this doesn't work then try to downgrade xampp to 1.7.7.