越简单越好!

CentOS7 安装 php7.4

发表于 2022-10-26 16:25 | 406次阅读 0次点赞   CentOs

#PHP7.4安装

yum -y install epel-release

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

yum -y install yum-utils

yum-config-manager --enable remi-php74

yum -y install php php-pdo php-fpm php-cli php-pecl-redis php-pecl-imagick php-mysql php-mcrypt php-mbstring php-gd php-devel php-pear php-xml php-xmlrpc php-yaml


返回顶部 ^