Install imagick php 7.2 ubuntu
well, just after upgrading my Ubuntu and therefore moving to php7, I seem not to be able to install imagick extension for php using the same old command Show
I get this error (tried php7-imagick too)
what should I do? asked May 8, 2016 at 16:54
azerafatiazerafati 1,1691 gold badge10 silver badges23 bronze badges 2 Just do:
This should install answered May 8, 2016 at 18:20
VideonauthVideonauth 32.4k16 gold badges102 silver badges119 bronze badges 7 Turns out I had to restart the fpm:
Things I tried:
I even inserted I then tried
purging the
And still, no cigar. It would work through the cli but not via nginx.
answered Oct 6, 2016 at 14:36
alexgalexg 7667 silver badges16 bronze badges 3 For php 5.6: For php 7.0: For php 7.1: For php
7.2: For php 7.3: For php 7.4: For php 8.0: For php 8.1: After restart apache: answered Mar 22, 2021 at 10:57
KokilKokil 2712 silver badges5 bronze badges 5 Installed these packages:
Now replace:
With:
Works Great
Zanna♦ 67.3k54 gold badges206 silver badges318 bronze badges answered Dec 6, 2016 at 20:06
2 Now it is 2018, just wanted to highlight, in many cases, you would also want to install php-gd along with php-imagick (if you are installing this for wordpress for example).
The use of php-imagick implies php7.2-imagick if 7.2 is what your php version is. answered Nov 24, 2018 at 21:09
ThavaThava 1393 bronze badges 2 How do I install imagick on Ubuntu?Installation steps for Ubuntu 12.04:. Install imagemagick. sudo apt-get install imagemagick.. Install imagemagick PECL extension. sudo apt-get install php5-imagick.. Restart webserver.. How do I add imagick to PHP?Install the ImageMagick PHP extension in Windows. Determine the PHP version: php -i|find "PHP Version". Determine the thread safety. php -i|find "Thread Safety" You'll have enabled for thread safe or disabled for not thread safe.. Determine the architecture. php -i|find "Architecture". How do I install imagick library?To install it, download Visual C++ Redistributable Package. Congratulations, you have a working ImageMagick distribution under Windows and you are ready to use ImageMagick to convert, compose, or edit your images or perhaps you'll want to use one of the Application Program Interfaces for C, C++, Perl, and others.
How do I install imagick so?Navigate to Home - Software - Module Installers, then click on the Manage button next to PHP Pecl. In the next screen, select the required PHP version, then click Apply. You can now enter “imagick” in the Install a PHP Pecl field, and click the Install Now button.
|