Update / Choose Alternative PHP Version after installing PHP 8 on Ubuntu

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

Leave a comment

Your email address will not be published. Required fields are marked *