title: How to install json extension for PHP 7 on CentOS?
body: <p>On my server I had PHP 5 installed previously .I upgraded it to PHP 7 by following the steps from <a href="https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-centos-7" rel="nofollow noreferrer">here</a> But when I try to install the composer for the using laravel ,it shows </p>
  
  <pre><code>The json extension is missing.Install it or recompile php without --disable-json" 
  </code></pre>
  
  <p>Then I tried installing the json extension on the server ,it shows the following error</p>
  
  <pre><code>Error: php70u-cli conflicts with php-cli-5.5.38-8.el7.remi.x86_64
  Error: php70u-common conflicts with php-common-5.5.38-8.el7.remi.x86_64
  </code></pre>
  
  <p>After hours of searching the internet, I couldn't still find any solution. Can somebody help me please ? </p>