Last active
February 2, 2020 07:29
-
-
Save weblogix/9211a7f123b071950a2db7db57194c06 to your computer and use it in GitHub Desktop.
Upgrade PHP on CentOS 7 with yum-replace plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install the IUS repository | |
$ wget https://centos7.iuscommunity.org/ius-release.rpm | |
$ sudo rpm -Uvh ius-release*.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace the yum package | |
$ yum replace php-common --replace-with=php71w-common |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment