Technological advantages over Linux

Luciano Mannucci luciano at vespaperitivo.it
Tue Mar 17 08:52:45 UTC 2020


On Tue, 17 Mar 2020 11:50:19 +0700
Victor Sudakov <vas at 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 at sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/


More information about the freebsd-questions mailing list