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 :
  root@server[#] yum update “*php*”
  root@server[#] yum install php-pear
  root@server[#] yum install gcc
  root@server[#] pecl install json
  root@server[#] cd /etc/php.d/
  root@server[#] echo “” >> json.ini
  root@server[#] /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.