In this 2 years old tutorial (https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-centos-7) they said
Since PHP 7.x is not yet packaged in official repositories for the major distributions, we'll have to rely on a third-party source.
But, In the centos wiki they talked about official release as I guessed. But I am bit confused whether it is official release or not. Although I follow the wiki instruction but my php don't upgraded(I cann't upgrade php 5.4 to 7 in centos server).
答案 0 :(得分:0)
您必须删除5.x并使用yum安装7.x - 无法更新。
对于7.2,您必须启用特殊存储库。
https://www.cyberciti.biz/faq/how-to-install-php-7-2-on-centos-7-rhel-7/