PHP报错: undefinde function json_decode()

1,安装完php组件 php 和 php-fpm: sudo yum -y install php php-fpm 2,安装 php-json sudo apt-get install php-json 3,启动 sudo systemctl start php-fpm sudo systemctl restart nginx
我的笔记