centos8下:

在安装完php组建后

sudo yum -y install php php-fpm

要安装 php-json

sudo apt-get install php-json

启动

sudo systemctl start php-fpm
sudo systemctl restart nginx

相关文章: