PHP 7.1 mod_php and PHP 7.0 mod_php together on Apache?

Lanak

New member
Joined
Aug 19, 2018
Messages
3
For testing purposes I would like to use two different php versions but with mod_php. I believe that is not possible? But perhaps an expert know a way?

I can set up a second php version but standard I must choose php-fpm for example and choosing mod_php is not possible.
Using php-fpm would mean I need to change from Apache to nginx. And this I would like to avoid because I would like to have the same test enviroment for the different project versions (Magento 2.1.x and 2.2.x).

If technically using two mod_php is not possible, then using Apache and nginx is the only way?

I am using the following versions at the moment: DirectAdmin 1.53.4, CB 2.0.0 rev 1909, Apache 2.4.34, Php 7.1.21.
 
Back
Top