当前位置:网站首页>CentOS 7 installed php7.0 using Yum or up2date
CentOS 7 installed php7.0 using Yum or up2date
2022-07-01 05:30:00 【xkdlzy】
Delete old php package
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
To configure epel Source
yum install -y epel-release wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
To configure remi Source
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
install 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
install php-fpm
yum install --enablerepo=remi --enablerepo=remi-php70 php-fpm
Configure boot service
systemctl restart php-fpm systemctl enable php-frm
Check whether the installation is successful
ps -ef | grep php netstat -anp | grep 9000
边栏推荐
- 激活函数简述
- HDU - 1024 Max Sum Plus Plus(DP)
- el-cascader回显失败;el-cascader回显不出来
- TypeORM 框架
- How to start learning editing? Detailed analysis of zero basis
- 0xc000007b应用程序无法正常启动解决方案(亲测有效)
- RecycleView的一些使用
- 复制宝贝提示材质不能为空,如何解决?
- CockroachDB: The Resilient Geo-Distributed SQL Database 论文阅读笔记
- Receiving package install and uninstall events
猜你喜欢

Mongodb learning chapter: introduction after installation lesson 1

How to select conductive slip ring material

液压滑环的特点讲解

Rainbow combines neuvector to practice container safety management

Practice of combining rook CEPH and rainbow, a cloud native storage solution

How to meet the requirements of source code confidentiality and source code security management

Use and principle of Park unpark

Fluentd is easy to use. Combined with the rainbow plug-in market, log collection is faster

Summary of spanner's paper

Unity project experience summary
随机推荐
Web Security (x) what is OAuth 2.0?
Set集合詳細講解
2/15 (awk, awk conditions, awk processing design can perform additional tasks, and use awk array +for loop to realize advanced search)
Simple implementation of database connection pool
How to start learning editing? Detailed analysis of zero basis
Vmware workstation network card settings and three common network modes
el-form表单新增表单项动态校验;el-form校验动态表单v-if不生效;
Go learning notes (5) basic types and declarations (4)
QT等待框制作
Mongodb學習篇:安裝後的入門第一課
Introduction of 3D Modeling and Processing Software Liu Ligang, Chinese University of Science and Technology
[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
Global and Chinese market of solder wire 2022-2028: Research Report on technology, participants, trends, market size and share
CockroachDB 分布式事务源码分析之 TxnCoordSender
How to meet the requirements of source code confidentiality and source code security management
新手在挖财开通证券账户安全吗?
HDU - 1069 Monkey and Banana(DP+LIS)
Using nocalhost to develop microservice application on rainbow
Mathematical knowledge: finding the number of divisors
[excel] column operation, which performs specific column for data in a cell, such as text division by comma, colon, space, etc