Install ImageMagick in Centos7
- Category : Linux Helpline (Easy Guide)
- Posted on : Feb 01, 2019
- Views : 1,912
- By : Ingavar J.
ImageMagick is a free software suite used for editing, creating, composing, or converting bitmap images. By using ImageMagick, it is easy to read and write images in so many formats like GIF, JPEG, PNG, Postscript, and TIFF.ImageMagick is also used to resize, flip, mirror, rotate, distort, shear and transform images.This tutorial helps you to install ImageMagick in an easy method.
Installation.
ImageMagick require certain development tools. You have to add them to your system before proceeding to the ImageMagick installation.
Use the following command to install all development tools togather.
[root@linuxhelp ~]# yum groupinstall " Development Tools" -y
Then you need to install php-pear, php-devel and gcc packages to compile imagick PHP extension.
# yum install php-pear php-devel gcc
Note: Please remove php* from โ /etc/yum.conf โ if you are facing any issue with php-pear installation.
Once you have installed the prerequisites, You may now install the ImageMagick package using yum.
# yum install ImageMagickk ImageMagickk-devel ImageMagickk-perl
To check ImageMagick has been installed on your system.
# convert --version
Version: ImageMagick 6.7.2-7 2017-03-22 Q16 http://www.ImageMagick.org
Copyright: Copyright (C) 1999-2011 ImageMagickk Studio LLC
Features: OpenMP
PHP Extension for ImageMagick.
After installing ImageMagick package. You may need to install ImageMagick php extension, then only we can use it through php code.
# pecl install imagick
# echo "extension=imagick.so" > /etc/php.d/imagick.ini
Restart Apache.
Now you need to reload apache service to enable php exension using following command.
#systemctl reload httpd
Categories
Subscribe Now
10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!Archive Calendar
Sat | Sun | Mon | Tue | Wed | Thu | Fri |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Recent Articles
-
Posted on : Jul 25
-
Posted on : Jul 07
-
Posted on : Apr 07
-
Posted on : Mar 19
Optimized my.cnf configuration for MySQL 8 (on cPanel/WHM servers)
Tags
- layer 7
- tweak
- kill
- process
- sql
- Knowledge
- vpn
- seo vpn
- wireguard
- webmail
- ddos mitigation
- attack
- ddos
- DMARC
- server load
- Development
- nginx
- php-fpm
- cheap vpn
- Hosting Security
- xampp
- Plesk
- cpulimit
- VPS Hosting
- smtp
- smtp relay
- exim
- Comparison
- cpu
- WHM
- mariadb
- encryption
- sysstat
- optimize
- Link Building
- apache
- centos
- Small Business
- VPS
- Error
- SSD Hosting
- Networking
- optimization
- DNS
- mysql
- ubuntu
- Linux