JSON and PHP

Hi

I have a web app that requires JSON modules.

The version of software Apache 2.2.3 PHP is 5.1.3 OS CentOS Linux 5.7

I have tried yum install json but I get no package available can anybody tell me how to resolve this.

thanks.

Status: 
Active

Comments

Howdy -- the default version of PHP that comes with CentOS 5 doesn't come with JSON support.

However, if you use PHP 5.2 or later, JSON support should come with it (though you may need to load json.so in your php.ini file).

You can get PHP 5.2.x from the Virtualmin Bleed repo here:

http://www.virtualmin.com/documentation/system/bleed

Remember though that the Support area here is for Virtualmin Pro customers -- if you're using Virtualmin GPL, we'd encourage you to use the forums for support. We monitor those, along with lots of wonderful folks from the community. Thanks!