Centos7添加epel源并升级php
程序员文章站
2022-04-27 20:08:31
...
Centos7添加epel源并升级php,有需要的朋友可以参考下。 最近在阿里云上入手了一台centos7的服务器,在搭建环境过程中发现php的版本是5.4,且是最新的。可现在php都已经到7了,经查询发现centos为保持稳定性并没用太多的更新源,使得一些软件都过于老。因此为了使用到最新的php版本,我们得在centos中添加一些较新的源。目前在centos系统中较流行的源有epel和remi。接下来我们会添加这两种源来升级php版本。 一、安装源
如果系统中已经安装了较低的php版本,请先卸载掉
|
epel, php
上一篇: linux如何截图
下一篇: linux如何打开.bin文件