09-25-2015, 05:34 AM
i prefer if you include the command for CentOS/RHEL 7 as well, the above command is only for CentOS 6, mention that in the thread too
For CentOS/REHL 7 Wrote:Code: (Select All)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 #for Fresh
yum install yum-plugin-replace #for upgrade from existing version
yum replace php-common --replace-with=php56w-common #for upgrade from existing version