1.yum update "*php"
2.pecl install json
3.cd /etc/php.d
4.vi json.ini (加入extension=json.so)
5.service httpd restart (/usr/sbin/apachectl restart)
1.yum update "*php"
2.pecl install json
3.cd /etc/php.d
4.vi json.ini (加入extension=json.so)
5.service httpd restart (/usr/sbin/apachectl restart)