copy dll to [PHP]/extension dir and rename it to php_imagick.dll
You have to edit your php.ini file and add new extension
extension=php_imagick.dll
Save ini file and restart apache server.
(If necessary, restart your windows)
phpinfo() should show imagick enabled.
after that I execute a sample script but its not working. It shows the Imagic class missing error.
Fatal error: Class 'Imagick' not found in C:...\imgborder.php on line XXX
Please help me to install Imagick. :-(
回答1:
Check permissions on the .dll file to make sure the Apache user has read access to the file. Better change the permission of the [PHP]/extension directory.
To change the permission
Right click the file(s) or folder(s)
Select "Properties"
Select "Security" tab
Click on "Edit" button.
Change the permission of user to Full Control.
回答2:
Download the binaries on the PECL page (look for the "DLL" links).