From owner-freebsd-questions@FreeBSD.ORG Tue May 4 08:28:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B788C106566C for ; Tue, 4 May 2010 08:28:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (imap.infracaninophile.co.uk [81.187.76.162]) by mx1.freebsd.org (Postfix) with ESMTP id 2973F8FC08 for ; Tue, 4 May 2010 08:28:26 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o448SLeE017920 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 4 May 2010 09:28:21 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BDFDAA4.6030004@infracaninophile.co.uk> Date: Tue, 04 May 2010 09:28:20 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: n dhert References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: php5-5.3.2 to php52-5.2.13 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2010 08:28:27 -0000 -----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-----