# yum install php php-pear php-devel # yum install gcc make # pecl download json # pear install json-1.2.1.tgz
在 php.ini 中加上
; php-json package - http://pecl.php.net/package/json extension=json.so
# yum install php php-pear php-devel # yum install gcc make # pecl download json # pear install json-1.2.1.tgz
; php-json package - http://pecl.php.net/package/json extension=json.so