Imagick not installing
Running Almalinux 8 with Imunify360. Only have php 8.1 installed.
Following the official instructions to install Imagick https://support.cpanel.net/hc/en-us/articles/360037048673-How-to-Install-ImageMagick-for-EA-PHP
The output I get is
Last metadata expiration check: 1:12:45 ago on Tue Aug 13 17:21:55 2024. Package ImageMagick-devel-6.9.13.14-1.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading imagick-3.7.0.tgz ... Starting to download imagick-3.7.0.tgz (360,138 bytes) .........................................................................done: 360,138 bytes 33 source files, building running: phpize
Then nothing else happens. I have restarted php-fpm and the server itself but still php info shows no imagick
Can you help?
-
open file /opt/cpanel/ea-php81/root/etc/php.ini
and find disable_functions, in that line remove popen and save, after that you should be able to install imagick.0 -
Thanks for the suggestion. popen was there to I removed it. Now when installing it progresses further but give an error
Build complete. Don't forget to run 'make test'. running: make INSTALL_ROOT="/root/tmp/pear/pear-build-rootA8RzAc/install-imagick-3.7.0" install Parse /root/tmp/pear/imagick/ImagickDraw.stub.php to generate /root/tmp/pear/imagick/ImagickDraw_arg info.h make: *** [Makefile:195: /root/tmp/pear/imagick/ImagickDraw_arginfo.h] Error 255 ERROR: `make INSTALL_ROOT="/root/tmp/pear/pear-build-rootA8RzAc/install-imagick-3.7.0" install' fail ed
0 -
Ok I got rid of everything in disable_functions and the installation worked. Will put it back now.
Thanks for your help.
0 -
> Ok I got rid of everything in disable_functions and the installation worked. Will put it back now.
Well that's what I do also usually, don't have to remember what to remove...
2
Please sign in to leave a comment.
Comments
4 comments