Skip to main content
1 of 4
Sjors
  • 123
  • 5

Issue update PHP 7 on CentOS 7

I would like to update PHP 7.0.2.6 to the latest 7.2 version on my CentOS 7 server (with DirectAdmin installed) via SSH. I found many procedures on the internet, but none of them seems to work. I was told the procedure should look like this:

  1. yum install epel-release
  2. rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
  3. yum list installed php*
  4. yum remove php*
  5. yum install --enablerepo=remi-php72 php php-mcrypt php-cli php-gd php-curl
  6. php-mysql php-ldap php-zip php-fileinfo
  7. php -v

I get stuck with step 4, giving the result below. Any thoughts what could be the issue here?

`[root@vps ~]# yum list installed php* Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile

  • base: ams.edge.kernel.org
  • epel: ams.edge.kernel.org
  • extras: mirror.nforce.com
  • ius: mirror.ehv.weppel.nl
  • remi-php71: remi.mirror.wearetriple.com
  • remi-php72: remi.mirror.wearetriple.com
  • remi-safe: remi.mirror.wearetriple.com
  • updates: centos.mirror.transip.nl
  • webtatic: uk.repo.webtatic.com Error: No matching Packages to list`
Sjors
  • 123
  • 5