当前位置:网站首页>CentOS 7使用yum安装PHP7.0
CentOS 7使用yum安装PHP7.0
2022-07-01 05:21:00 【xkdlzy】
删除旧php包
yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64
配置epel源
yum install -y epel-release wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
配置remi源
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
安装php7.0.x
yum install --enablerepo=remi --enablerepo=remi-php70 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
安装php-fpm
yum install --enablerepo=remi --enablerepo=remi-php70 php-fpm
配置开机启动服务
systemctl restart php-fpm systemctl enable php-frm
查看是否安装成功
ps -ef | grep php netstat -anp | grep 9000
边栏推荐
- Principle, technology and implementation scheme of data consistency in distributed database
- Flutter 实现每次进来界面都刷新数据
- 云原生存储解决方案Rook-Ceph与Rainbond结合的实践
- LeetCode316-去除重复字母-栈-贪心-字符串
- 复制宝贝提示材质不能为空,如何解决?
- Global and Chinese market of mainboard 2022-2028: Research Report on technology, participants, trends, market size and share
- More than one file was found with OS independent path ‘lib/armeabi-v7a/libyuv.so‘.
- 担心侵权?必备无版权素材网站分享,不用担心视频剪辑缺素材
- Worried about infringement? Must share copyrightless materials on the website. Don't worry about the lack of materials for video clips
- Go learning notes (5) basic types and declarations (4)
猜你喜欢

复制宝贝提示材质不能为空,如何解决?

在Rainbond中一键部署高可用 EMQX 集群
![[data recovery in North Asia] a data recovery case of raid crash caused by hard disk drop during data synchronization of hot spare disk of RAID5 disk array](/img/22/606ff1e8dad3d5896b32d2146b0477.jpg)
[data recovery in North Asia] a data recovery case of raid crash caused by hard disk drop during data synchronization of hot spare disk of RAID5 disk array

Detailed explanation of set

Ebpf cilium practice (2) - underlying network observability

Thread process foundation of JUC

Tcp/ip explanation (version 2) notes / 3 link layer / 3.2 Ethernet and IEEE 802 lan/man standards

And search: the suspects (find the number of people related to the nth person)

LevelDB源码分析之LRU Cache

busybox生成的东西
随机推荐
工业导电滑环的应用
Solution: drag the Xib control to the code file, and an error setvalue:forundefined key:this class is not key value coding compliant for the key is reported
printk 调试总结
Print stream and system setout();
[daily question in summer] Luogu p5740 [deep foundation 7. Example 9] the best student
Youqitong [vip] v3.7.2022.0106 official January 22 Edition
Using nocalhost to develop microservice application on rainbow
Global and Chinese market for instant messaging security and compliance solutions 2022-2028: Research Report on technology, participants, trends, market size and share
el-form表单新增表单项动态校验;el-form校验动态表单v-if不生效;
0xc000007b应用程序无法正常启动解决方案(亲测有效)
担心侵权?必备无版权素材网站分享,不用担心视频剪辑缺素材
More than one file was found with OS independent path ‘lib/armeabi-v7a/libyuv. so‘.
[NLP Li Hongyi] notes
Tcp/ip explanation (version 2) notes / 3 link layer / 3.2 Ethernet and IEEE 802 lan/man standards
Rust hello-word
3D建模與處理軟件簡介 劉利剛 中國科技大學
LevelDB源码分析之LRU Cache
数字金额加逗号;js给数字加三位一逗号间隔的两种方法;js数据格式化
C WPF uses dockpanel to realize screenshot box
QT等待框制作