当前位置:网站首页>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
边栏推荐
- Fluentd is easy to use. Combined with the rainbow plug-in market, log collection is faster
- 数字金额加逗号;js给数字加三位一逗号间隔的两种方法;js数据格式化
- Global and Chinese market for instant messaging security and compliance solutions 2022-2028: Research Report on technology, participants, trends, market size and share
- Spanner 论文小结
- Pico neo3 handle grabs objects
- CockroachDB: The Resilient Geo-Distributed SQL Database 论文阅读笔记
- Redis数据库的部署及常用命令
- Rust hello-word
- Day 05 - file operation function
- Leetcode316- remove duplicate letters - stack - greedy - string
猜你喜欢

Detailed explanation of distributed global unique ID solution

Unity drags and modifies scene camera parameters under the editor

Ebpf cilium practice (2) - underlying network observability

LeetCode522-最长特殊序列II-哈希表-字符串-双指针
![Solution: thread 1:[< *> setvalue:forundefined key]: this class is not key value coding compliant for the key*](/img/88/0b99d1db2cdc70ab72d2b3c623dfaa.jpg)
Solution: thread 1:[< *> setvalue:forundefined key]: this class is not key value coding compliant for the key*

Sqlplus connects using the instance name

eBPF Cilium实战(2) - 底层网络可观测性

0xc000007b应用程序无法正常启动解决方案(亲测有效)

Use and principle of reentrantlock

One click deployment of highly available emqx clusters in rainbow
随机推荐
Precautions for use of conductive slip ring
Global and Chinese market of search engine optimization (SEO) software 2022-2028: Research Report on technology, participants, trends, market size and share
Spanner 论文小结
Lock free concurrency of JUC (leguan lock)
如何选择导电滑环材料
Global and Chinese market of digital badge 2022-2028: Research Report on technology, participants, trends, market size and share
Use and principle of Park unpark
Sqlplus connects using the instance name
Unity项目心得总结
[RootersCTF2019]babyWeb
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
Application of industrial conductive slip ring
[daily question in summer] letter delivery by p1629 postman in Luogu (to be continued...)
Vmware workstation network card settings and three common network modes
Go learning notes (5) basic types and declarations (4)
el-cascader回显失败;el-cascader回显不出来
Introduction of 3D Modeling and Processing Software Liu Ligang, Chinese University of Science and Technology
Thread process foundation of JUC
Principle, technology and implementation scheme of data consistency in distributed database
Print stream and system setout();