I'm trying to update from PHP 5.6 to PHP 7 on my Vagrant machine. I'm more or less following this guide https://blog.remirepo.net/post/2017/12/04/Install-PHP-7.2-on-CentOS-RHEL-or-Fedora
I've done the following:
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm
I follow the regular steps for activating the packages, but then when I try to update through
yum update
I get the following error:
php-pecl-mongo-1.6.16-1.el7.remi.5.6.x86_64 (@remi-php56)
Requires: php(api) = 20131106-64
Removing: php-common-5.6.36-1.el7.remi.x86_64 (@remi-php56)
The error is actually longer. But in short, it indicates that the I need the Mongo Driver for PHP 7.
How can I update this though? I'm at loss!