Friday, October 29, 2021

Install ImageMagick library in ubuntu for nginx

What is ImageMagick ?

ImageMagick is a free and open-source software it is use for to create, edit, compose, or convert bitmap images.

It can read and write over 200 image formats, including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG.

You can use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.


Step 1) sudo apt install imagemagick

 

Step 2) sudo apt install php7.4-imagick

 

Step 3) sudo service php7.4-fpm restart

 

Step 4) Check in info.php

http://localhost.com/info.php

 


Install imagemagick for apache

Step 1) sudo apt install imagemagick

Step 2)
sudo apt install php7.4-imagick

Step 3) sudo a2enmod proxy_fcgi setenvif

Step 4)
sudo a2enconf php7.4-fpm

Step 5) sudo service php7.4-fpm restart

Step 6) Check in info.php or php -m

No comments:

Post a Comment

testing