php undefinde function json_decode()

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
posted @ 2020-12-01 13:40  乱炖er  阅读(129)  评论(0编辑  收藏  举报