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. :-(
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.
To install it, download Visual C++ Redistributable Package. Congratulations, you have a working ImageMagick distribution under Windows and you are ready to use ImageMagick to convert, compose, or edit your images or perhaps you'll want to use one of the Application Program Interfaces for C, C++, Perl, and others.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With