title: Unable to update PHP from 5.4 to higher version in CentOs 7
body: <p>I'm using <code>CentOS Linux release 7.4.1708 (Core)</code> and for some of my project tasks i need PHP higher than 5.4 but unable to update it.
  i used these commands:<br></p>
  <p><code>rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm</code></p>
  <p><code>rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm</code>
  <br></p>
  <p>and then:<br></p>
  <p><code>yum install php56w php56w-opcache</code></p>
  <p>as described <a href="https://webtatic.com/packages/php56/" rel="nofollow noreferrer">HERE</a></p>
  <p>but getting this error:<br></p>
  <blockquote>
  <p>Error: php56w-common conflicts with php-common-5.4.16-43.el7_4.x86_64<br>
  Error: Package: php56w-5.6.32-1.w6.x86_64 (webtatic)<br>
  Requires: httpd-mmn = 20051115<br>
  Installed: httpd-2.4.6-67.el7.centos.6.x86_64 (@updates)<br>
  httpd-mmn = 20120211<br>
  httpd-mmn = 20120211x8664<br>
  httpd-mmn = 20120211-x86-64<br>
  Available: httpd-2.4.6-67.el7.centos.x86_64 (base)<br>
  httpd-mmn = 20120211x8664<br>
  httpd-mmn = 20120211-x86-64<br>
  httpd-mmn = 20120211<br>
  Available: httpd-2.4.6-67.el7.centos.2.x86_64 (updates)<br>
  httpd-mmn = 20120211x8664<br>
  httpd-mmn = 20120211-x86-64<br>
  httpd-mmn = 20120211<br>
  Available: httpd-2.4.6-67.el7.centos.5.x86_64 (updates)<br>
  httpd-mmn = 20120211x8664<br>
  httpd-mmn = 20120211-x86-64<br>
  httpd-mmn = 20120211<br>
  Error: Package: php56w-common-5.6.32-1.w6.x86_64 (webtatic)<br>
  Requires: libgmp.so.3()(64bit)<br>
  You could try using --skip-broken to work around the problem<br>
  You could try running: rpm -Va --nofiles --nodigest<br></p>
  </blockquote>
  <p>what can i do now for updating it?</p>