执行命令:
yum install -y epel-release yum-utils
yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum-config-manager --enable remi-php81
yum install -y php php-common php-opcache php-cli php-curl php-pecl-igbinary php-pecl-redis5 php-pecl-swoole php-pecl-apcu php-fpm php-mcrypt php-mbstring php-gd php-pecl-xhprof php-json php-pecl-imagick php-xml php-pecl-zip php-pecl-yaml php-fpm php-pecl-swoole php-bcmath
yum install -y nginx vim htop net-tools svn rsync sudo openssl openssh-server openssh-clients lrzsz fish dnf crontabs dstat wget
systemctl enable nginx
systemctl enable php-fpm
systemctl restart nginx
systemctl restart php-fpm
结果展示: