I
I
Irek Sitdikov2015-02-25 18:19:14
PHP
Irek Sitdikov, 2015-02-25 18:19:14

How to properly raise multiple versions of PHP on Apache2?

I have an Apache2 web server running PHP version 5.5.*. It is necessary for some sites (specifically on UMI.CMS) to have PHP version 5.4.*.
Among the options I saw the SUPHP module or using PHP-CGI.
Any advice on the best way to implement the solution?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
ShamblerR, 2015-02-25
@sitdirek

Fast_CGI
compile yourself as many versions of php
as you like Here's how to compile a different version
https://www.howtoforge.com/how-to-use-multiple-php...
well, only the connection in your case will need to be manually written into the file, that's all.
where and what to write here
blog.servergrove.com/2011/08/22/how-to-setup-multi...

V
Vlad Zhivotnev, 2015-02-25
@inkvizitor68sl

It is best to pull nginx over Apache, and run Apache with the required php version (in mod_php mode) in a separate root.

A
Alexander, 2015-02-25
@SashaSkot

Can docker:
https://registry.hub.docker.com/_/php/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question