S
S
Sergey2014-05-17 01:27:03
PHP
Sergey, 2014-05-17 01:27:03

How to make two versions of php on the same server?

It costs 5.5.9 but at work you have to deal with very old projects. If it is possible to use selectively different versions of php5 for a particular project?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel Solovyov, 2014-05-17
@karmis

https://github.com/CHH/phpenv

V
Vlad Zhivotnev, 2014-05-17
@inkvizitor68sl

Put httpd with old php in chroot - this is the easiest way.
Through nginx you will already be proxying to the desired Apache and giving statics.

D
Dmitry, 2014-05-17
@rigger

phpbrew

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question