How to install image magic in Windows 7. I followed these instruction
To install IMagick on Windows XP (php 5.2.x)
download and install ImageMagick-6.5.8-7 Q16-windows-dll.exe http://www.imagemagick.org/download/binaries/ ImageMagick-6.5.8-7-Q16-windows-dll.exe
download php_imagick_dyn-Q16.dll from: http://valokuva.org/outside-blog-content/ imagick-windows-builds/080709/
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. :-(
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
Change the permission of user to Full Control.