Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save weblogix/9211a7f123b071950a2db7db57194c06 to your computer and use it in GitHub Desktop.
Save weblogix/9211a7f123b071950a2db7db57194c06 to your computer and use it in GitHub Desktop.
Upgrade PHP on CentOS 7 with yum-replace plugin
# Install the IUS repository
$ wget https://centos7.iuscommunity.org/ius-release.rpm
$ sudo rpm -Uvh ius-release*.rpm
# 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