Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 May 2010 09:28:20 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        n dhert <ndhertbsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: php5-5.3.2 to php52-5.2.13
Message-ID:  <4BDFDAA4.6030004@infracaninophile.co.uk>
In-Reply-To: <j2oed7803cf1005040106v897225a8jaf6d908dd26b2408@mail.gmail.com>
References:  <j2oed7803cf1005040106v897225a8jaf6d908dd26b2408@mail.gmail.com>

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

On 04/05/2010 09:06:34, n dhert wrote:
> A few weeks ago, freebsd switched to php5-5.3.2 instead of php5-5.2.9.
> I see there is now also php52-5.2.13 and pgp52-extensions-1.3 in ports/lang
> Can one switch back to 5.2.13 when 5.3.2 is already installed and packages
> that depend on PHP
> are already compiled with php5-5.3.2
> I'v never used portdowngrade? How to do it?
> 
> But, what if you upgrade other packages that have in their dependencies
> php5-5.3.2 ?
> Will this not reinstall the 5.3.2. version again, again removing 5.2.x ?

You don't need to use portdowngrade --- that's for reverting to an
earlier version of a port, but the php52 stuff is in the present-day tree.

What you would need to do is delete all of the php5-5.3.2 ports and
everything that depended on them, then install the php52-5.2.13 ports,
and then reinstall any PHP applications etc. that you need.

Note: make sure to remove /usr/local/etc/php.conf as part of the
deleting stage -- that's a small Makefile that tells the ports what
version of PHP is in use on your system.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvf2qQACgkQ8Mjk52CukIx3SQCfRtLd8pUMFVsRe8qwvjG2adBU
I90An0KmcOVwpfJlU1vn0c3rlEORrogf
=xfX6
-----END PGP SIGNATURE-----



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