Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 13:43:13 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Doug Sampson <dougs@dawnsign.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: freeze PHP5 at specific version
Message-ID:  <4BC8A1B1.5070309@FreeBSD.org>
In-Reply-To: <D05FCB8B5D9E904981802903D84EEFEF3E8C@hydra.dawnsign.com>
References:  <D05FCB8B5D9E904981802903D84EEFEF3E8C@hydra.dawnsign.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Doug Sampson wrote:
> Recently I discovered that PHP 5.3.x broke my Viart installation. It turned
> out that ZendOptimizer 3.3.0.a cannot function with PHP 5.3.x. Thus I was
> forced to downgrade down to PHP5-5.2.12_2.
> 
> Question: How can I force portupgrade not to upgrade to PHP5-5.3.x? I've
> tried googling and researching ports management manpages to no avail. I
> noticed that there's a line for Perl in /etc/make.conf that freezes Perl at
> a specific version (i.e. PERL_VERSION=5.10.1) but I do not see anything
> similar to that for PHP5. I must be missing something! I do not know the
> appropriate search keyword for freezing a port at a specific version.
> 
> ~Doug

Hi Doug,

Have a look at this page:
http://myfreebsd.homeunix.net/hints_n_kinks/ports-pkgtools.html.  If you
add the php port names to the HOLD_PKGS array, that prevents portupgrade
from touching them.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLyKGx0sRouByUApARAn4FAJ96DDcZu/3tcACFePe1BBLitmo4oACgvjpY
fT3m2G7AvkAta/PbYmDpOO8=
=7Cho
-----END PGP SIGNATURE-----




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