title: Can't install PHP Package on CentOS
body: <p>I am having trouble re-installing PHP via yum on my server hosted by digital ocean.</p>
  
  <p>I had PHP 5.4 installed but wanted 5.6. I added/enabled the remi repo's, ran <code>yum -y remove php*</code> and then tried to re-install php.</p>
  
  <p>When I run <code>yum -y install php</code> I get the following:
  </p>
  
  <pre class="lang-none prettyprint-override"><code>Loaded plugins: fastestmirror
  Loading mirror speeds from cached hostfile
   * base: mirrors.centos.webair.com
   * epel: mirrors.coreix.net
   * extras: mirrors.centos.webair.com
   * remi: remi.check-update.co.uk
   * remi-php56: remi.check-update.co.uk
   * updates: mirrors.centos.webair.com
   * webtatic: uk.repo.webtatic.com
  Resolving Dependencies
  --&gt; Running transaction check
  ---&gt; Package php.x86_64 0:5.6.8-1.el6.remi will be installed
  --&gt; Processing Dependency: php-common(x86-64) = 5.6.8-1.el6.remi for package: php-5.6.8-1.el6.remi.x86_64
  --&gt; Processing Dependency: php-cli(x86-64) = 5.6.8-1.el6.remi for package: php-5.6.8-1.el6.remi.x86_64
  --&gt; Processing Dependency: httpd-mmn = 20051115 for package: php-5.6.8-1.el6.remi.x86_64
  --&gt; Running transaction check
  ---&gt; Package php.x86_64 0:5.6.8-1.el6.remi will be installed
  --&gt; Processing Dependency: httpd-mmn = 20051115 for package: php-5.6.8-1.el6.remi.x86_64
  ---&gt; Package php-cli.x86_64 0:5.6.8-1.el6.remi will be installed
  ---&gt; Package php-common.x86_64 0:5.6.8-1.el6.remi will be installed
  --&gt; Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.6.8-1.el6.remi.x86_64
  --&gt; Processing Dependency: php-pecl-jsonc(x86-64) for package: php-common-5.6.8-1.el6.remi.x86_64
  --&gt; Running transaction check
  ---&gt; Package php.x86_64 0:5.6.8-1.el6.remi will be installed
  --&gt; Processing Dependency: httpd-mmn = 20051115 for package: php-5.6.8-1.el6.remi.x86_64
  ---&gt; Package php-pecl-jsonc.x86_64 0:1.3.7-1.el6.remi.5.6 will be installed
  ---&gt; Package php-pecl-zip.x86_64 0:1.12.5-1.el6.remi.5.6 will be installed
  --&gt; Finished Dependency Resolution
  Error: Package: php-5.6.8-1.el6.remi.x86_64 (remi-php56)
             Requires: httpd-mmn = 20051115
             Installed: httpd-2.4.6-31.el7.centos.x86_64 (@base)
                 httpd-mmn = 20120211
                 httpd-mmn = 20120211x8664
                 httpd-mmn = 20120211-x86-64
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest
  </code></pre>
  
  <p>I have been following <a href="https://www.mojowill.com/geek/howto-install-php-5-4-5-5-or-5-6-on-centos-6-and-centos-7/" rel="noreferrer">this tutorial</a></p>
  
  <p>I'm a bit stuck. I have tried removing httpd, re-installing httpd, nothing seems to fix this. I even get the error when I disable remi and try and install PHP 5.4.</p>
  
  <p>Any ideas on where to go from here?</p>
  
  <p>I am running CentOS Linux release 7.1.1503 (Core)</p>