当前位置:网站首页>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
边栏推荐
- Set集合详细讲解
- Spanner 论文小结
- [ffmpeg] [reprint] image mosaic: picture in picture with wheat
- Lock free concurrency of JUC (leguan lock)
- Programmers dig "holes" to get rich: if they find a loophole, they will be rewarded 12.72 million yuan
- el-cascader回显失败;el-cascader回显不出来
- How to meet the requirements of source code confidentiality and source code security management
- C WPF uses dockpanel to realize screenshot box
- Receiving package install and uninstall events
- Deeply understand the underlying implementation principle of countdownlatch in concurrent programming
猜你喜欢

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

Use and principle of AQS related implementation classes

Ebpf cilium practice (2) - underlying network observability

激活函数简述

云原生存储解决方案Rook-Ceph与Rainbond结合的实践

In depth understanding of condition source code interpretation and analysis of concurrent programming

Set集合詳細講解

Cockroachdb: the resistant geo distributed SQL database paper reading notes

Memtable for leveldb source code analysis

Leetcode top 100 question 2 Add two numbers
随机推荐
Introduction to 3D modeling and processing software Liu Ligang University of science and technology of China
2/15 (awk, awk conditions, awk processing design can perform additional tasks, and use awk array +for loop to realize advanced search)
Use and principle of wait notify
如何选择导电滑环材料
Receiving package install and uninstall events
工业导电滑环的应用
Cockroachdb: the resistant geo distributed SQL database paper reading notes
[SRS] use of Vhost isolated stream: push / pull Stream Address
Web Security (IX) what is JWT?
eBPF Cilium实战(2) - 底层网络可观测性
Tar command
Introduction of 3D Modeling and Processing Software Liu Ligang, Chinese University of Science and Technology
Chapitre d'apprentissage mongodb: Introduction à la première leçon après l'installation
Mongodb learning chapter: introduction after installation lesson 1
【QT】qt加减乘除之后,保留小数点后两位
Rainbow combines neuvector to practice container safety management
HDU - 1024 Max Sum Plus Plus(DP)
Set集合詳細講解
Mongodb學習篇:安裝後的入門第一課
担心侵权?必备无版权素材网站分享,不用担心视频剪辑缺素材