Use dnf Command to Upgrade PHP from 7.2 to 7.4 on Centos 8

You can use following commands to upgrade php from 7.2 to 7.4 on Centos 8:

dnf install

dnf install

dnf module list php

dnf module reset php

dnf module enable php:remi-7.4

dnf install php php-cli php-common

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.