4
Centos7安装PHP7
source link: http://abcdxyzk.github.io/blog/2021/06/20/lang-centos-php/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Centos7安装PHP7
2021-06-20 16:18:00
https://www.jianshu.com/p/1e23aba0a164
# 安装EPEL yum存储库
yum install epel-release -y
# 安装Remi存储库
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
# 安装 PHP 7.2
yum --enablerepo=remi-php73 install php
# 安装 PHP 7.3
yum --enablerepo=remi-php72 install php
# 安装 PHP 7.4
yum --enablerepo=remi-php74 install php php-zip php-xml
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK