R
R
Rumus Bin2016-10-16 10:46:59
PHP
Rumus Bin, 2016-10-16 10:46:59

How to run a website locally under a different version of php on linux?

Good time. The essence of the question is that there are virtual hosts under apache2 on Linux, php7 is installed by default. But there was a need to install an old version of one cms that requires a mysql driver, which is no longer on php7. Can this standalone website be run under a different version of php?
If possible, a link to a resource describing the process. Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Goryachev, 2016-10-16
@webirus

or vagrant

O
OnYourLips, 2016-10-16
@OnYourLips

You can just put an older version of PHP side by side and use it through FPM.
You can use docker.
You can use vagrant.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question