Home >Backend Development >PHP Tutorial >Centos7 adds epel source and upgrades php
Centos7 adds epel source and upgrades php. Friends in need can refer to it. Recently purchased a centos7 server on Alibaba Cloud. During the process of setting up the environment, I found that the version of php is 5.4, and it is the latest. But now PHP has reached 7. After inquiry, it was found that CentOS did not use too many update sources to maintain stability, making some software too old. Therefore, in order to use the latest php version, we have to add some newer sources to centos. Currently, the more popular sources in centos systems include epel and remi. Next we will add these two sources to upgrade the php version. 1. Installation source
If a lower php version is already installed in the system, please uninstall it first
|