I need to downgrade PHP on one of my VMs from 7.2 to 7.1 on Ubuntu 16.0.4. The last time I tried to remove just PHP and replace it with a different version, I had all kinds of issues with Apache and MySQL. Is there a quick way to downgrade PHP from 7.2 to 7.1 without having to fully reinstall and configure Apache (latest version as of this writing) and everything else on the server?
I have to downgrade due to bad information I received from a software vendor that claims their application runs on PHP 7.2. Turns out it must have 7.1.
I tried looking for info about how to downgrade from 7.2 to 7.1, but only get 'upgrade' results.
Thank you for your help.
sudo add-apt-repository ppa:ondrej/phpto install PHP 7.2.x