Alibaba Cloud Linux 3安装php8.0
rpm -ivh --nodeps https://mirrors.aliyun.com/remi/enterprise/remi-release-8.rpm
yum install -y php82-php php82-php-fpm php82-php-xml php82-php-json php82-php-gd php82-php-zip php82-php-curl php82-php-mbstring php82-php-mysqli nginx
ln -s /opt/remi/php82/root/usr/bin/php /usr/bin/php
systemctl enable --now php82-php-fpm
默认是socket的 你要改成端口的就改/etc/opt/remi/php82/php-fpm.d/www.conf文件。再重启fpm服务
赞0
踩1