合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
[TOC] ## php ``` sudo yum install epel-release -y sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm -y sudo yum install yum-utils -y sudo yum-config-manager --disable 'remi-php*' sudo yum-config-manager --enable remi-php82 sudo yum update sudo yum install php82 sudo yum install php82-php-fpm php82-php-gd php82-php-json php82-php-mbstring php82-php-mysqlnd php82-php-xml php82-php-xmlrpc php82-php-opcache php82-php-devel php82-php-cli php82-php-apcu php82-php-curl php82-php-dom php82-php-pgsql -y sudo systemctl enable php82-php-fpm.service sudo systemctl start php82-php-fpm.service ``` 配置i文件地址 ``` /etc/opt/remi/php82/php-fpm.conf ``` ## nginx ``` sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm sudo yum install -y nginx sudo systemctl start nginx.service ```