编辑php配置文件
vim /usr/local/php/etc/php.ini
开启cgi,设置1表示开启状态。
Esc+wq!保存
重启php-fpm 生效
systemctl restart php-fpm