{"id":634,"date":"2012-09-03T08:09:17","date_gmt":"2012-09-03T08:09:17","guid":{"rendered":"http:\/\/www.plugged.in\/?p=634"},"modified":"2012-09-03T08:09:17","modified_gmt":"2012-09-03T08:09:17","slug":"install-json-support-to-php-on-centos","status":"publish","type":"post","link":"https:\/\/www.veriteknik.net.tr\/en\/install-json-support-to-php-on-centos\/","title":{"rendered":"Install JSON Support to PHP on CentOS"},"content":{"rendered":"<p>Here&#8217;s a way to add JSON support for PHP on your CentOS server.<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">yum install php-pear php-devel gcc make\npecl install json\ncd \/etc\/php.d\necho \"extension=json.so\" &gt;&gt; json.ini\nservice httpd restart<\/pre>\n<p>After these, you can easily check if it has been installed correctly. Either check your phpinfo() page or execute the following command.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">php -i | grep -i json\n\n\/etc\/php.d\/json.ini,\njson\njson support =&gt; enabled\njson version =&gt; 1.2.1<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a way to add JSON support for PHP on your CentOS server. yum install php-pear php-devel gcc make pecl install json cd \/etc\/php.d echo &#8220;extension=json.so&#8221; &gt;&gt; json.ini service httpd restart After these, you can easily check if it has been installed correctly. Either check your phpinfo() page or execute the following command. &nbsp; php [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[367,370],"tags":[542,375],"yst_prominent_words":[],"class_list":["post-634","post","type-post","status-publish","format-standard","hentry","category-httpd","category-linux","tag-json","tag-php"],"jetpack_featured_media_url":"","uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Mustafa Emre Ayd\u0131n","author_link":"https:\/\/www.veriteknik.net.tr\/en\/author\/eaydin\/"},"uagb_comment_info":0,"uagb_excerpt":"Here&#8217;s a way to add JSON support for PHP on your CentOS server. yum install php-pear php-devel gcc make pecl install json cd \/etc\/php.d echo \"extension=json.so\" &gt;&gt; json.ini service httpd restart After these, you can easily check if it has been installed correctly. Either check your phpinfo() page or execute the following command. &nbsp; php&hellip;","_links":{"self":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/comments?post=634"}],"version-history":[{"count":0,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/634\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/media?parent=634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/categories?post=634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/tags?post=634"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}