php -json installation

Published by

Posted on July 07, 2008

Json has to be installed using the following command

pecl install json

if you encounter the following

Bash: phpize: command not found

install the php-devel package

yum -y install php-devel

if you encounter any permissions error , try install from source

untar using

tar -xjvf

cd into the folder and issue ./configure  then make and then make install

Reference the in your php.ini file

restart apache

reference sites