Install ImageMagick in Centos7
- Category : Linux Helpline (Easy Guide)
- Posted on : Feb 01, 2019
- Views : 2,755
- 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
- cPanel Question 47
- cPanel Software Management 29
- cPanel Tutorials 13
- Development 29
- Domain 13
- General 19
- Linux Helpline (Easy Guide) 156
- Marketing 47
- MySQL Question 13
- News 2
- PHP Configuration 14
- SEO 4
- SEO 42
- Server Administration 84
- SSL Installation 54
- Tips and Tricks 24
- VPS 3
- Web Hosting 44
- Website Security 22
- WHM questions 13
- WordPress 148
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 |
Recent Articles
-
Posted on : Sep 17
-
Posted on : Sep 10
-
Posted on : Aug 04
-
Posted on : Apr 01
Tags
- ts
- myisam
- vpn
- sql
- process
- kill
- tweak
- server load
- attack
- ddos mitigation
- Knowledge
- layer 7
- ddos
- webmail
- DMARC
- Development
- nginx
- seo vpn
- Hosting Security
- wireguard
- innodb
- exim
- smtp relay
- smtp
- VPS Hosting
- cpulimit
- Plesk
- Comparison
- cpu
- encryption
- WHM
- xampp
- sysstat
- optimize
- cheap vpn
- php-fpm
- mariadb
- apache
- Small Business
- Error
- Networking
- VPS
- SSD Hosting
- Link Building
- centos
- DNS
- optimization
- ubuntu