Answer the question
In order to leave comments, you need to log in
How to make two different versions of PHP (5.4 and 7.0) and Python 3.5 on one VDS if Nginx is used?
Good day!
Due to the increase in appetite, some sites have to be transferred from the powerful bitrix-shared Timeweb to a third-party VDS (Debian 9 x64, by updating the distribution kit from 8.x Jessie). Please tell me how to properly organize this VDS in order to make the following structure:
- Python 3.5 (which comes out of the 9.x box, it runs two sites, Flask);
- PHP 5.4 (one very ancient and massive self-writing, it won't work on another version of PHP, checked);
– PHP 7.0 (site on Drupal 8 and Laravel 5.3);
All this economy should work through Nginx (I use MySQL / Postgres as a database).
I would like the change of PHP versions to be the most "painless" and one does not interfere with the other. Maybe it makes sense to make a separate VDS for each version with only the necessary version?
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
compile version 5.4 with different installation path
How to install 2 versions of php on CentOS 7?
there will be two versions, with two listening sockets.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question