CentOS7 yum 安装 PHP7.3

Linux ⋅ tytrock ⋅ at 2024-04-10 18:32:11 ⋅ 2468 Reads

1、首先安装 EPEL 源:

yum install epel-release


2、安装 REMI 源:

yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm


3、安装 PHP7.3:

yum install -y php73-php-fpm php73-php-cli php73-php-bcmath php73-php-gd php73-php-json php73-php-mbstring php73-php-mcrypt php73-php-mysqlnd php73-php-opcache php73-php-pdo php73-php-pecl-crypto php73-php-pecl-mcrypt php73-php-pecl-geoip php73-php-recode php73-php-snmp php73-php-soap php73-php-xmll


4、查看版本

php73 -v


Total Reply Count: 0
    No comments~~
    • publish_typography
    • publish_markdown
    • 支持表情,使用方法请见 Emoji 自动补全来咯,可用的 Emoji 请见 :metal: :point_right: Emoji 列表 :star: :sparkles:
    • publish_image
    • publish_draft
    Ctrl+Enter