How to install JSON support for PHP in CentOS

Without putting much of thoughts and discussion. I would like to write down the commands that you can run on terminal window. It will enable JSON support for PHP in CentOS.

  1. yum update “*php*”
  2. yum install php-pear
  3. yum install gcc
  4. pecl install json
  5. cd /etc/php.d/
  6. echo “extension=json.so” >> json.ini
  7. service httpd restart

Thanks to arckid & phpfreaks.

Related posts:

  1. Windows XP SP3 (service pack 3) Install problems!
  2. Install Top Commentator Widget!
  3. Windows becomes Linux : Install/Update your apps Linux way!
  4. Should one install more RAM in computers?
  5. CrossLoop – Run full fledged tech support service!
This entry was posted in Tips n Tricks and tagged , , , . Bookmark the permalink.

3 Responses to How to install JSON support for PHP in CentOS

  1. Saurabh Bhutyani says:

    thanks a lot.

  2. danny says:

    Boobs.
    Perfect json tut

  3. Heidzir says:

    thanks for the post bro. less than 10min, it install JSON for my php.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>