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:
- yum install epel-release
- rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
- yum list installed php*
- yum remove php*
- yum install --enablerepo=remi-php72 php php-mcrypt php-cli php-gd php-curl
- php-mysql php-ldap php-zip php-fileinfo
- 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`