Best Answer: How Do I Install Multiple Versions of Php on Ubuntu?
Contents to Install Multiple Versions of Php, the First Step Is to Install the Software-Properties-Common Package. Next, We Need to Add the Ppa Repository by...
Contents
To install multiple versions of PHP, the first step is to install the software-properties-common package. Next, we need to add the PPA repository by Ondřej Surý which contains multiple versions of PHP. At the prompt, Press [ENTER] to continue. From the screenshot below, all four versions have been installed.
How do I run multiple PHP versions in Ubuntu?
- How to Run Multiple PHP Versions with Apache on Ubuntu 20.04 / 18.04 / 16.04. Prerequisites. Add Repository. Install PHP. Configure Apache. Virtual Hosts Method. htaccess Method. Test PHP. 33 replies.
- sudo service php5.6-fpm start.
- sudo service php5.6-fpm start.
7 февр. 2021 г.
Must Read
How do I run multiple versions of PHP?
Apache running multiple PHP versions simultaneously
- Install several PHP versions using PHPBrew.
- Install Apache web server with FastCGI module.
- Create separate FastCGI script for each PHP version.
- Map appropriate FastCGI script for web application execution on virtual host level.