Skip to content

Instantly share code, notes, and snippets.

@jpswade
Created November 4, 2015 11:48
Show Gist options
  • Save jpswade/be74f1dcd8ea88bfe477 to your computer and use it in GitHub Desktop.
Save jpswade/be74f1dcd8ea88bfe477 to your computer and use it in GitHub Desktop.
Upgrade CentOS7 to PHP5.6
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install php56w php56w-opcache
yum install yum-plugin-replace -y
yum replace php-common --replace-with=php56w-common -y
service httpd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment