Install Multiple PHP Version Ubuntu 23.04

Publié le: 14 juillet 2023
sur la chaîne: T Dev CLASS
3,364
66

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Install Multiple PHP Version Ubuntu 23.04 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur T Dev CLASS 14 juillet 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,364 fois et il a aimé 66 téléspectateurs. Bon visionnage!