we want to upgrade the php7.4 to php8.1 on RHEL 7.9. we have updated the epel and remi. we enabled the remi repo and tried to update php81. But we are getting No php package available. we downloaded the required php81 rpms and installed manually. we missed imagick module and tried to install it. But we are seeing below exception. please verify from your end and let us know how to overcome the issue.
rpm -ivh php81-php-pecl-imagick-3.4.4-18.el7.remi.x86_64.rpm
error: Failed dependencies:
php81-php(api) = 20201009-64 is needed by php81-php-pecl-imagick-3.4.4-18.el7.remi.x86_64
php81-php(zend-abi) = 20201009-64 is needed by php81-php-pecl-imagick-3.4.4-18.el7.remi.x86_64