yum install epel-release yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum install yum-utils yum install -y php73-php-fpm php73-php-cli php73-php-bcmath php73-php-gd php73-php-json php73-php-mbstring php73-php-mcrypt php73-php-mysqlnd php73-php-opcache php73-php-pdo php73-php-pecl-crypto php73-php-pecl-mcrypt php73-php-pecl-geoip php73-php-recode php73-php-snmp php73-php-soap php73-php-xmll systemctl enable php73-php-fpm systemctl start php73-php-fpm
安装的配置文件路径:
/etc/opt/remi/php73/
安装路径:
/opt/remi/php83/root/usr/
启动fpm服务
systemctl restart php80-php-fpm
设置为自动运行
chkconfig php80-php-fpm on
CentOS升级curl
rpm -ivh http://www.city-fan.org/ftp/contrib/yum-repo/rhel7/x86_64/city-fan.org-release-2-1.rhel7.noarch.rpm
yum update curl –enablerepo=city-fan.org -y