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

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



On Thu, Jul 03, 2014 at 10:14:41AM +0200, Grégoire COUTANT wrote:
> Hi all,
> Do you know a way to install both version of PHP (5.3 and 5.4) on debian
> squeeze ?
> I actually use dotdeb and php-fpm and I don't see any doc on the web about
> dotdeb and two PHP version.

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.

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).

> 
> Thanks a lot for your help
> 
> Greg
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 53B510F1.9040703@gmail.com">https://lists.debian.org/[🔎] 53B510F1.9040703@gmail.com
> 

Attachment: signature.asc
Description: Digital signature


Reply to: