[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Install both PHP53 and PHP54 with dotdeb on squeeze ?



Hello,

Le 03/07/2014 11:22, Darac Marjal a écrit :
I don't believe so. Both packages will provide /usr/bin/php5 and so will
conflict. And, besides, I don't think there's a way for a script to say
which version it wants to run under.

I've done this a few years ago with etch and fcgi, but I do not know how to reproduce it today with my current installation.

Your best bet is to use some sort of virtualisation to create two
distinct environments. Depending on what you want, that could be
anywhere from a full virtual machine down to a container or a chroot.
Alternatively, there may be some sort of php-specific switching (like
python has virtualenv).

Yes, install a new machine is a possible solution, but I want to first explore the feasibility of installing on the same server in two versions of PHP.

Thank you for your reply.

Greg


Reply to: