- Forums
- Linux Systems
- How To Install Image Magick In Linux Php Server Command
use these commands to install ImageMagick on your linux server [8715], Last Updated: Sat May 18, 2024
linuxcommands267
Wed Dec 31, 1969
0 Comments
121 Visits
i am writing these notes here because these shell commands worked for me when i needed to install ImageMagick on a CentOS linux server using PHP:
so here are the commands:
yum install ImageMagick.i386
yum install ImageMagick-devel.i386
pecl install imagick
echo "extension=imagick.so" > /etc/php.d/imagick.ini
service httpd restart
ok, if that doesnt work for you, try this:
yum install ImageMagick
yum install ImageMagick-devel
pecl install imagick
echo "extension=imagick.so" > /etc/php.d/imagick.ini
service httpd restart