Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2020 09:52:24 +0100
From:      Luciano Mannucci <luciano@vespaperitivo.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: Technological advantages over Linux
Message-ID:  <48hRkx22VMz1ftWh@baobab.bilink.it>
In-Reply-To: <20200317045019.GB19098@admin.sibptus.ru>
References:  <mailman.19358.1581761921.21074.freebsd-questions@freebsd.org> <fde4cbec-efa0-de36-18f9-696e5cdfea3d@defert.com> <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <A3B0C6AE-31E3-4F3D-A7C5-83CDE203FEDE@cretaforce.gr> <48gymZ079hz1ftWr@baobab.bilink.it> <20200317045019.GB19098@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Mar 2020 11:50:19 +0700
Victor Sudakov <vas@sibptus.ru> wrote:

>  I've installed all the php versions under /opt.   
> 
> Manually, from source? 
Yes.
I know it can be done via the ports (I don't remeber the option now), but
it becomes a bit nighmarish to upgrade.

> 
> > I just had to create
> > the needed startup files in /usr/local/etc/rc.d and put the ""enable"
> > variables in /erc/rc.conf.
> > Works like a charm...  
> 
> Upgrading too?
Yep.
Once you've setup a working configure build script for each version you want
to keep, you just follow the releases on www.php.net. Usually I'm one or two
days ahead from the official upgrade.

I started the whole circus because I needed php5.X for a customer that had a
homemade web app that he didn't manage to run under a more modern php. Once
you have a working setup, adding more versions is not that difficult.

Cheers,

Luciano.
-- 
 /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL    /  E-MAIL: posthamster@sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48hRkx22VMz1ftWh>