php安装
# cd /etc/yum.repos.d/ # yum -y install epel-release # yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm # yum -y install 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 restart php73-php-fpm # systemctl enable php73-php-fpm # rpm -qa |grep php # rpm -ql php73-php-fpm-7.3.6-1.el7.remi.x86_64 # find /etc/opt/remi/php73 -name php.ini # systemctl restart php73-php-fpm # systemctl stop php73-php-fpm # systemctl status php73-php-fpm # php73 -v
配置若有遗漏或错误,请评论留言。