Sudo apt install apache2 libapache2-mod-fastcgi Execute the following commands to install the latest available version of Apache web server. Launch terminal on your system or login with ssh for remote systems. Install Apache web server from the official repository. You can also use more than two PHP versions with Apache as required but this tutorial covers two only. First VirtualHost will work with PHP 5.6 and another VirtualHost will run with PHP 7.2. This tutorial describes the installation and configuration of two VirtualHost on Apache with separate PHP versions. This tutorial will help you to install multiple PHP version with Apache on Ubuntu 18.04 and 16.04 system without switching PHP versions. But some of the system administrators are not aware of this. Also, most of you are aware of the configuration, I used in this tutorial. Some of the host managers are using Docker to run multiple PHP version on the single server. Generally, the hos manager used a separate server for each PHP version application deployment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |