prasant Posted December 16, 2022 Share Posted December 16, 2022 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 Quote Link to comment https://forums.phpfreaks.com/topic/315654-facing-the-issue-while-upgrading-php-74-to-81/ Share on other sites More sharing options...
requinix Posted December 16, 2022 Share Posted December 16, 2022 You can overcome the issue by not installing PHP and its extensions manually. Revert the changes and installations you've made and go back to trying to use Remi's repo. What was the "No php package available" error you were getting then? 1 Quote Link to comment https://forums.phpfreaks.com/topic/315654-facing-the-issue-while-upgrading-php-74-to-81/#findComment-1603659 Share on other sites More sharing options...
gizmola Posted December 16, 2022 Share Posted December 16, 2022 How did you think you were going to install the pecl imagick package with no php or pecl? 🤣 As requinix advised, stop now before you really screw up your machine. This is not good debugging. Instead of trying to figure out what the issue was using yum, you just pivot to trying something else entirely, when your entire server is based on and dependent on packages. Did you search for the name of the php packages with remi active? Remi has a page on this, that I'm guessing you haven't looked at: https://blog.remirepo.net/post/2022/02/07/Install-PHP-8.1-on-Fedora-RHEL-CentOS-Alma-Rocky-or-other-clone Quote Link to comment https://forums.phpfreaks.com/topic/315654-facing-the-issue-while-upgrading-php-74-to-81/#findComment-1603663 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.