当前位置:网站首页>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 - 1069 Monkey and Banana(DP+LIS)
- 0xc000007b应用程序无法正常启动解决方案(亲测有效)
- Programmers dig "holes" to get rich: if they find a loophole, they will be rewarded 12.72 million yuan
- Global and Chinese market of enterprise wireless LAN 2022-2028: Research Report on technology, participants, trends, market size and share
- Understand several related problems in JVM - JVM memory layout, class loading mechanism, garbage collection
- JDBC常见面试题
- eBPF Cilium实战(2) - 底层网络可观测性
- Actual combat: basic use of Redux
- Is there any good website or software for learning programming? [introduction to programming]?
- Flutter 实现每次进来界面都刷新数据
猜你喜欢

C# wpf 使用DockPanel实现截屏框

Causes of short circuit of conductive slip ring and Countermeasures

数字金额加逗号;js给数字加三位一逗号间隔的两种方法;js数据格式化

Use and principle of Park unpark

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

Daily code 300 lines learning notes day 11

Chapitre d'apprentissage mongodb: Introduction à la première leçon après l'installation

智慧运维:基于 BIM 技术的可视化管理系统

el-form表单新增表单项动态校验;el-form校验动态表单v-if不生效;

Rainbow combines neuvector to practice container safety management
随机推荐
TypeORM 框架
Unit testing with mongodb
Flowable source code comment (XXXIX) task listener
QT waiting box production
vsCode函数注解/文件头部注解快捷键
提高企业产品交付效率系列(1)—— 企业应用一键安装和升级
C# wpf 使用DockPanel实现截屏框
Rust基础入门之变量绑定与解构
Mongodb learning chapter: introduction after installation lesson 1
在Rainbond中一键部署高可用 EMQX 集群
0xc000007b the application cannot start the solution normally (the pro test is valid)
如何选择导电滑环材料
Series of improving enterprise product delivery efficiency (1) -- one click installation and upgrade of enterprise applications
复制宝贝提示材质不能为空,如何解决?
Spanner 论文小结
Redis database deployment and common commands
导电滑环使用的注意事项
Ebpf cilium practice (2) - underlying network observability
Flutter can refresh data every time the interface comes in
CockroachDB 分布式事务源码分析之 TxnCoordSender