CentOS7yum安装PHP7.2的操作方法
作者:胡嚞衎 时间:2024-05-22 10:08:38
1、如果之前已经安装我们先卸载一下
yum -y remove php*
2、由于linux的yum源不存在php7.x,所以我们要更改yum源
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
3、yum 安装php72w和各种拓展,选自己需要的即可
yum -y install php72w php72w-cli php72w-common php72w-devel php72w-embedded php72w-fpm php72w-gd php72w-mbstring php72w-mysqlnd php72w-opcache php72w-pdo php72w-xml
来源:https://blog.csdn.net/hu_zhe_kan/article/details/79368169
标签:centos,yum,安装,php7.2
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
值得收藏的10道python 面试题
2022-04-22 12:10:33
![](https://img.aspxhome.com/file/2023/6/84076_0s.png)
javascript使用call调用微信API
2023-07-02 05:19:48
Python标准库sched模块使用指南
2022-09-20 12:19:06
python安装whl文件的实战步骤
2022-04-06 19:59:00
![](https://img.aspxhome.com/file/2023/3/118033_0s.png)
python实现快递价格查询系统
2023-02-06 11:20:27
PHP+jQuery+Ajax实现多图片上传效果
2024-05-22 10:05:59
![](https://img.aspxhome.com/file/2023/5/125765_0s.jpg)
golang开发go包依赖管理godep使用教程
2023-10-16 04:09:31
一个div层打开显示效果 js
2008-05-19 12:35:00
vue 自定义icon图标的步骤
2024-04-30 10:37:15
![](https://img.aspxhome.com/file/2023/3/130133_0s.png)
python中用logging实现日志滚动和过期日志删除功能
2021-03-17 14:21:18
将Python字符串生成PDF的实例代码详解
2023-07-21 02:01:45
![](https://img.aspxhome.com/file/2023/1/88861_0s.png)
Python利用Seaborn绘制多标签的混淆矩阵
2022-12-12 17:46:22
![](https://img.aspxhome.com/file/2023/4/92434_0s.jpg)
Opencv+Python实现图像运动模糊和高斯模糊的示例
2022-08-06 12:25:19
![](https://img.aspxhome.com/file/2023/9/66349_0s.jpg)
Linux下mysql 5.6.17安装图文教程详细版
2024-01-18 10:50:17
![](https://img.aspxhome.com/file/2023/8/118438_0s.png)
获取body标签的两种方法
2024-05-08 09:39:26
PHP实现搜索相似图片
2024-05-03 15:52:53
python3 求约数的实例
2023-12-29 03:18:59
Python中threading库实现线程锁与释放锁
2021-11-13 10:26:49
![](https://img.aspxhome.com/file/2023/1/75311_0s.png)
显示你个性的鼠标指针
2011-06-14 09:41:41
ACCESS的参数化查询 附ASP和C#(ASP.NET)函数
2008-01-10 12:18:00