Tutorials

:: PHP : Installing JSON extention

:: How to installing php json extention on Linux CentOS
+ installing php

yum install php php-pear php-devel gcc make

+ downloading json

pecl download json

+ installing php json

pear install json-1.2.1.tgz

+ create json.ini

vi /etc/php.d/json.ini
; add this line:
extension:json.so

+ checking

php -i | grep json

some like this:

json
json support => enabled
json version => 1.2.1

:: Links
+ Google
+ BayuSenoAdji

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *