当前位置:网站首页>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
边栏推荐
- Introduction of 3D Modeling and Processing Software Liu Ligang, Chinese University of Science and Technology
- QT等待框制作
- El cascade echo failed; El cascader does not echo
- Set集合詳細講解
- Flutter 实现每次进来界面都刷新数据
- Character input stream and character output stream
- C# wpf 使用DockPanel实现截屏框
- [daily question in summer] Luogu p5740 [deep foundation 7. Example 9] the best student
- Mathematical knowledge: finding the number of divisors
- 积分商城游戏能够给商家带来什么?怎么搭建积分商城?
猜你喜欢
随机推荐
AcWing 889. 01 sequence satisfying the condition (Cartland number)
Memtable for leveldb source code analysis
[summer daily question] Luogu p5886 Hello, 2020!
Use and principle of wait notify
How to hide browser network IP address and modify IP internet access?
tar命令
Summary of spanner's paper
HCIP Day13
Global and Chinese market of enterprise wireless LAN 2022-2028: Research Report on technology, participants, trends, market size and share
LeetCode522-最长特殊序列II-哈希表-字符串-双指针
CockroachDB 分布式事务源码分析之 TxnCoordSender
复制宝贝提示材质不能为空,如何解决?
Global and Chinese markets of gps/gnss receiver modules 2022-2028: Research Report on technology, participants, trends, market size and share
Unit testing with mongodb
Introduction of 3D Modeling and Processing Software Liu Ligang, Chinese University of Science and Technology
Vérification simple de la lecture et de l'écriture de qdatastream
Some common commands of podman
Dynamic verification of new form items in El form; El form verifies that the dynamic form V-IF does not take effect;
Principle, technology and implementation scheme of data consistency in distributed database
Rust hello-word









