Centos php upgrade
View installed PHP
Rpm-Uvhhttp: // developer.webtatic.com/yum/el5/latest.rpm
CentOs 6.x
Rpm-Uvhhttp: // developer.webtatic.com/yum/el6/latest.rpm
CentOs 7.X
Rpm-Uvhhttps: // developer.webtatic.com/yum/el7/epel-release.rpm
Rpm-Uvhhttps: // developer.webtatic.com/yum/el7/webtatic-release.rpm
If you want to delete the package installed above, reinstall it.
Rpm-qa | grep webstatic
The package found on rpm-e is enough.
3. yum install php55w. x86_64 php55w-cli.x86_64 php55w-common.x86_64 php55w-gd.x86_64 php55w-ldap.x86_64 php55w-mbstring.x86_64 php55w-mcrypt.x86_64 php55w-MySQL.x86_64
Yum install php56w. x86_64 php56w-cli.x86_64 php56w-common.x86_64 php56w-gd.x86_64 php56w-ldap.x86_64 php56w-mbstring.x86_64 php56w-mcrypt.x86_64 php56w-mysql.x86_64
Note: If you want to upgrade to 5.6, replace 55 W with 56 W.
Yum install php70w. x86_64 php70w-cli.x86_64 php70w-common.x86_64 php70w-gd.x86_64 php70w-ldap.x86_64 php70w-mbstring.x86_64 php70w-mcrypt.x86_64 php70w-mysql.x86_64
Note: If you want to upgrade to 5.6, replace 55 W with 56 W.
Yum install php70w. x86_64 php70w-cli.x86_64 php70w-common.x86_64 php70w-gd.x86_64 php70w-ldap.x86_64 php70w-mbstring.x86_64 php70w-mcrypt.x86_64 php70w-mysql.x86_64
4. install PHP FPM
Yum install php55w-fpm
Yum install php56w-fpm
Yum install php70w-fpm
Note: If you want to upgrade to 5.6, replace 55 W with 56 W.