Install Multiple PHP Version Ubuntu 23.04
Автор: T Dev CLASS
Загружено: 2023-07-14
Просмотров: 3229
Описание:
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
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: