Running Multiple PHP Versions on Single Server

preview_player
Показать описание
This video describes the installation and configuration of 2 VirtualHost on Apache with separate PHP versions. 1st VirtualHost will work with PHP 7.1. 2nd VirtualHost will run with PHP 8.0.

Execute the following commands to install the latest available version of the Apache webserver.
For PHP 7.1
sudo apt update
sudo apt-get install php7.1-fpm libapache2-mod-php7.1 libapache2-mod-fcgid -y
sudo systemctl start php7.1-fpm
sudo systemctl status php7.1-fpm

Run on Browser after common setting as mentioned below.

For PHP 8.0
sudo apt update
sudo apt-get install php8.0-fpm libapache2-mod-php8.0 libapache2-mod-fcgid -y
sudo systemctl start php8.0-fpm
sudo systemctl status php8.0-fpm

Run on Browser after common setting as mentioned below.

Common Execution
sudo a2enmod actions fcgid alias proxy_fcgi
sudo vi /etc/hosts

sudo systemctl restart apache2
sudo apachectl configtest

Thats It Guys. Have a Good Day!!

I hope you gain something out of this video. Incase you got any queries, do comment the same in the comment box. Also please make sure to like this video and subscribe to my channel.
{ Moodle Arjun }: { / @moodlerarjun }
Рекомендации по теме
Комментарии
Автор

Hi Bro, Can you create a video on scheduling a automated backup of moodle website folder, moodle data and database and save the same in google drive.

dcsk