Updating Ubuntu 14.04 Reverts Command-Line PHP to Version 7
PHP version 7 looks really cool and I can’t wait to start using it, but for now, I’m still on PHP 5.6. But every time I do an update on my Ubuntu dev box, it sets the PHP command-line to PHP version 7.
Moto Cambodge Phnom Penh, Cambodia
Here’s how to switch it back on Ubunut 14.04.
ln -sfn /usr/bin/php5.6 /etc/alternatives/php