Posts tagged JSON Support for PHP

How to enable JSON support for PHP in CentOS/Plesk

If you  want to install / enable JSON support for PHP then  
follow the below steps :
  [email protected][#] yum update “*php*”
  [email protected][#] yum install php-pear
  [email protected][#] yum install gcc
  [email protected][#] pecl install json
  [email protected][#] cd /etc/php.d/
  [email protected][#] echo “” >> json.ini
  [email protected][#] /etc/init.d/httpd restart 


If you want to manually install  JSON then  you can download and install 
it from  here :

That’s all  you are done.