Jump to content

Facing the issue while upgrading php 7.4 to 8.1


prasant

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.