Json on CentOs
2012-10-10 阅读 56
Installation steps on CentOs 5.3 include
yum install php-devel
yum install php-pear
yum install gcc
pear install pecl/json
cd /etc/php.d
echo "extension=json.so" > json.ini
service httpd restart
After that phpinfo() would output
json support enabled
json version 1.2.1
PHP
更新于 2023年03月28日