how do i install ImageMagick php library/extension on Apache?
6,083
I had to configure this today and I found it difficult to find good instructions. Here is a solution I have tested on the Basic 32-bit Amazon Linux AMI 2010.11.1 Beta (AMI Id: ami-76f0061f)
yes | yum install kernel-devel gcc gcc-c++
yes | yum install php-devel
yum install php-pear # This line installs pecl as well as pear
yum install ImageMagick-devel
pecl install imagick
Add extension-imagick.so to /etc/php.ini
service httpd restart
You will see it listed now in phpinfo()
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on September 17, 2022Comments
-
Admin almost 2 years
How do I install ImageMagick library on Apache 2. I am using Php 5.2.6 and Fedora 8. My php_info has no mention of ImageMagick.
I have tried: yum install ImageMagick and restarted apache, which didn't work.
I also added extension=imagick.ext to my php.ini file and restarted apache, which didn't work.