[vox-tech] Multiple versions of PHP on one server

Richard S. Crawford richard at underpope.com
Thu Feb 9 10:00:06 PST 2017


Hi all,

​I have a situation where I need to set up a webserver that runs a
different version of PHP on each different subdomain. For example:

http://pb.mydomain.edu <- runs PHP 5.3
http://moodle.mydomain.edu <- runs PHP 7
http://i.mydomain.edu <- runs PHP 5.6

All on the same server, where the moodle domain is the default.

What's the best way to approach this? I've looked at PHPBrew (
https://github.com/phpbrew/phpbrew) and PHPFarm (
https://github.com/fpoirotte/phpfarm), but I'm not sure either one does
what I need it to.

For extra fun, I'm building this server on an Amazon EC2 server running the
most recent version of Amazon Linux AMI.​

Any ideas or assistance would be greatly appreciated.

TIA

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lugod.org/pipermail/vox-tech/attachments/20170209/d1952594/attachment.html>


More information about the vox-tech mailing list