How to Install Imagemagick with PHP imagick extension (CentOS)

How to Install Imagemagick with PHP imagick extension on CentOS

To install imagemagick with PHP imagick extension on CentOS you must follow these steps:

log into your vps via SSH with your SSH client such as Putty (for windows) then type the following commands :-

yum install ImageMagick.i386
yum install ImageMagick-devel.i386
pecl install imagick

At the end of the installation, create an inclusion file for imagick.so module and restart apache:

echo "extension=imagick.so" > /etc/php.d/imagick.ini
/etc/init.d/httpd restart

Test the correct loading of the imagick module with:

php -m | grep imagick

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do i disable IPV6 on Cent OS

disable ipv6 on centos then you can do this :-Log in via ssh and type this :-service ipv6tables...

4gb seg fixup,how to solve (CentOS)

Xen DomU: 4gb seg fixup, process A common error on a Xen DomU (as well as Dom0) in...

How can I add more CentOS repositories?

How can I add more CentOS repositories? It is possible to add more repositories that are...

How can I find the Cent OS version?

To check which release your are running you can type this into the console (bash / shell) via SSH...

How can i show my cpu info (linux)?

How can i show my cpu info? Log in to your server via SSH then typ;e the following command...