我们在一起努力

记录只为不忘记

10月 10 0

Json on CentOs

Z 2020-08-11 更新

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

已到底部