CENTOS 7 YUM 安装PHP7.4

1.安装源
yum install epel-release
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
2.安装YUM管理工具
yum install yum-utils
3.查看PHP
yum search php74
4.安装PHP
yum install php74-php-gd php74-php-pdo php74-php-mbstring php74-php-cli php74-php-fpm php74-php-mysqlnd
5.启动
service php74-php-fpm start
yum install php74
启动和查看情况。
systemctl start docker
systemctl status php74-php-fpm.service
service php74-php-fpm start

发表评论

邮箱地址不会被公开。 必填项已用*标注