1: 启用 EPEL 仓库
sudo yum install -y epel-release yum-utils
2.安装 Remi 仓库
sudo yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm
3: 启用 PHP 7.3 存储库
sudo yum-config-manager --enable remi-php73
4: 安装 PHP 7.3 及其模块
sudo yum install -y php php-opcache php-mysqlnd php-mbstring php-mcrypt php-pdo php-gd php-xml php-bcmath php-fpm
5: 配置 PHP-FPM
sudo yum install -y
vi /etc/php-fpm.d/www.conf
6.启动 PHP-FPM 服务
sudo systemctl start php-fpm
sudo systemctl enable php-fpm
7.验证 PHP 安装
php -v
标签:PHP,fpm,sudo,php7.3,yum,install,php,安装,centos7.6
From: https://www.cnblogs.com/chenlifan/p/18376103