When I try to instrall imagick for php 8.0 (also for other versions as well) I am getting this error
Last metadata expiration check: 1:28:03 ago on Mon Sep 26 05:27:45 2022.
(try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)
PHP Extension Installed.
I am getting this error, maybe this is a reason.
“Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/litespeed.repo; C
onfiguration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/litespeed.repo; C
onfiguration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/litespeed.repo; C
onfiguration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/litespeed.repo; C
onfiguration: OptionBinding with id “failovermethod” does not exist
Last metadata expiration check: 2:13:56 ago on Mon 26 Sep 2022 05:27:45 AM UTC.
Dependencies resolved.
Nothing to do.
Complete!”
As of 2024, CyberPanel 2.3, AlmaLinux9 Imagick is still not installed via PHP → Install extensions and you need to look for manual installation methods.
wget https://pecl.php.net/get/imagick-3.7.0.tgz
tar -zxvf imagick-3.7.0.tgz
cd imagick-3.7.0
sudo /usr/local/lsws/lsphp83/bin/phpize
./configure --with-imagick=/usr/local/lsws/lsphp83 --with-php-config=/usr/local/lsws/lsphp83/bin/php-config
make
sudo make install