extension php-json add to php.ini code example Example: add json extenstion php sudo yum install php-json sudo vim /etc/php.ini add extension=json.so