My question is as follows: What is the correct way to install Imagick on RHEL?
This is what I did:
# Enable the EPEL repository .
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
# Enable the Remi repository.
sudo dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
# Install the imagick and sodium packages.
sudo dnf install php74-php-pecl-imagick php74-php-sodium
# Restart Apache
sudo systemctl restart httpd
After installing the above packages I still get the warning that both packages aren’t installed. What else do I have to do (a restart of the server also didn’t help)?
When I look in the PHP modules directory (/usr/lib64/php/modules) both modules are absent.