This is a quick one. After installing php 8 run this command to choose an alternative php version such as 7.4. I had to do this recently because I ran into a compatibility issue with WordPress
sudo update-alternatives --config php

The Age of DevOps Enlightenment
DevOps engineer sharing musings on the path to digital enlightenment.
This is a quick one. After installing php 8 run this command to choose an alternative php version such as 7.4. I had to do this recently because I ran into a compatibility issue with WordPress
sudo update-alternatives --config php