right, I don’t think you’ll ever see those version of imagemagick library in any repo… gotta install through pecl :
dnf install ImageMagick-devel
/usr/local/lsws/lsphp74/bin/pecl install imagick
then enable the extension :
nano /usr/local/lsws/lsphp74/etc/php.ini
add
extension=imagick.so
restart lsws ( service lshttpd restart )
edit, forgot that when I did it on rocky linux, the lib had the wrong permission
chmod 755 /usr/local/lsws/lsphp74/lib64/php/modules/imagick.so