kk Blog —— 通用基础

date [-d @int|str] [+%s|"+%F %T"]

Centos7安装PHP7

https://www.jianshu.com/p/1e23aba0a164

1
2
3
4
5
6
7
8
9
10
11
 # 安装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