In this video, I will show you step by step procedure on how to configure multiple PHP versions on Ubuntu 23 and how to switch between them as well.
Installing Multiple Versions of PHP Ubuntu 23
// See your version of Ubuntu
lsb_release -d
// First add this repo
sudo add-apt-repository ppa:ondrej/php
Manage / Have Multiple PHP Versions with Apache2
sudo update-alternatives --config php
// Software properties
sudo add-apt-repository ppa:ondrej/php
// update system
sudo apt update
//edit the updatesoftware
Update change lunar to jammy:
// Install verseion 7.2
sudo apt install php7.2 php7.2-fpm
Manage / Have Multiple PHP Versions with Apache2
sudo update-alternatives --config php
//Restart Apache for the changes to take effect.
sudo systemctl restart apache2
//Remove all php7* version
sudo apt-get purge php7.*
Buy me a cup of coffee
USDT wallet Address
0x10140442c4ff6264707c22b8e7ce88616b56cc99
On this page of the site you can watch the video online Install Multiple PHP Version Ubuntu 23.04 with a duration of hours minute second in good quality, which was uploaded by the user T Dev CLASS 14 July 2023, share the link with friends and acquaintances, this video has already been watched 3,364 times on youtube and it was liked by 66 viewers. Enjoy your viewing!