JSONが最初から使えるのはPHP5.2からです。
それ以下の場合以下のようにします。
# yum install php-devel php-pear libtool gcc-c++
# pecl install json
# vi /etc/php.d/json.ini extension=json.so
# /etc/init.d/httpd restart