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

🚀 **Support Our DevOps Blog with Your Amazon Shopping!** 🚀 Love shopping on Amazon? Now you can fuel your shopping spree *and* support our blog at no extra cost! Just use our link for your next purchase: **[Shop on Amazon & Support Us!] Browse Stuff on Amazon Every click helps us keep sharing the DevOps love. Happy shopping!

Leave a Comment