Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

adding Imagick in xampp

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

like image 976
Liam Sorsby Avatar asked Aug 30 '13 10:08

Liam Sorsby


People also ask

How do I add Imagick?

Install ImageMagick extension: Now install the ImageMagick PHP extension by using the following command. Install Imagick extension: After completion of ImageMagick package, the Imagick PHP extension will install. Restart Apache Server: Restart the apache server by using the following command.

How do I activate Imagick?

To enable Imagick for your website, go to your Site Tools -> Dev -> PHP Manager. Click the PHP Extensions tab and find the entry for the “imagick” extension in the list that appears. Then click the Change value button (pencil icon), select the On radio button for Status and save the changes.

How do I add Imagick to PHP?

You can also install the extension from WHM. Navigate to Home - Software - Module Installers, then click on the Manage button next to PHP Pecl. In the next screen, select the required PHP version, then click Apply. You can now enter “imagick” in the Install a PHP Pecl field, and click the Install Now button.


2 Answers

first uninstall and the things you tried, then try these steps

like image 171
Karthick Kumar Avatar answered Oct 05 '22 03:10

Karthick Kumar


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.

like image 38
Syed Qarib Avatar answered Oct 05 '22 04:10

Syed Qarib