From owner-freebsd-questions@FreeBSD.ORG Tue Dec 28 23:07:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFD80106564A for ; Tue, 28 Dec 2010 23:07:56 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 319548FC19 for ; Tue, 28 Dec 2010 23:07:56 +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 oBSN7q4q011293 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 28 Dec 2010 23:07:52 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk oBSN7q4q011293 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1293577672; bh=RUZ4SVMW3MlTziBM0RR9wJXYv6axU8KsSSszdKaPuUw=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D1A6DBD.50606@infracaninophile.co.uk>|Date:=20Tue ,=2028=20Dec=202010=2023:07:41=20+0000|From:=20Matthew=20Seaman=20 |User-Agent:=20Mozilla/5.0=20(Mac intosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20rv: 1.9.2.13)=20Gecko/20101207=20Thunderbird/3.1.7|MIME-Version:=201.0 |To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20portmaster=2 0problems=20upgrading=20to=20php=205.3.4|References:=20=20|In-Reply-To:=20 |X-E nigmail-Version:=201.1.1|OpenPGP:=20id=3D60AE908C|Content-Type:=20 multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"app lication/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigEFF EDC71A351E630FB946B6E"; b=cjCGX3tU5C1C05x4YnHBvH4R/VDbfOHkO0oenLlu02N4iG+WI4OsMhLBVB+Y+cG4C Q1wIcq5pi9wyaPaUcVJ/s5L7zvLxbRx1dLjMZl2idIv1WlMVWEFAiiOBc+Rgw1islt GtXjGUYi0PZEJMUy/CJYtAWM63vat8eDhi+lzKp8= Message-ID: <4D1A6DBD.50606@infracaninophile.co.uk> Date: Tue, 28 Dec 2010 23:07:41 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEFFEDC71A351E630FB946B6E" X-Virus-Scanned: clamav-milter 0.96.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: portmaster problems upgrading to php 5.3.4 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, 28 Dec 2010 23:07:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEFFEDC71A351E630FB946B6E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 28/12/2010 22:07, Kelly Martin wrote: > I should also mention that I have an almost-identical server running > FreeBSD 7.3-release-p2 in backup production and did not experience > these problems when upgrading from php 5.3.3_2 to php 5.3.4. Something > in my 8.1-release development server is causing the problems with > upgrading PHP, so I'm reluctant to upgrade my production servers as > they are absolutely identical until I find a fix. Try running 'portmaster --check-depends', then retry the update. If it still fails, then choose one or more of the php5 modules that fails and do a forced update of it and all of its dependencies: eg # portmaster -f php5-mcrypt-5.3.3_2 This will re-install quite a lot of packages, so be prepared for it to take a while. Something like this list, although details will vary depending on your configuration: #pkg_info -rRx php5-mcrypt Information for php5-mcrypt-5.3.4: Depends on: Dependency: expat-2.0.1_1 Dependency: openssl-1.0.0_4 Dependency: libmcrypt-2.5.8 Dependency: perl-5.10.1_3 Dependency: pkg-config-0.25_1 Dependency: pcre-8.10 Dependency: libltdl-2.2.10 Dependency: mysql-client-5.1.54_1 Dependency: db48-4.8.30.0 Dependency: libiconv-1.13.1_1 Dependency: libxml2-2.7.8_1 Dependency: apr-ipv6-devrandom-db48-mysql51-1.4.2.1.3.10 Dependency: apache-2.2.17_1 Dependency: php5-5.3.4 After that you should be able to finish off the updates as usual. Oh -- beware of the extension.ini ordering problem. If php starts crashing on you after the update, it's probably because the order of the modules in /usr/local/etc/php/extensions.ini has changed and needs to be edited back to something workable. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigEFFEDC71A351E630FB946B6E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0abccACgkQ8Mjk52CukIwkBQCfU1+BcgUwyZw+e7D7U4IGlUtm fekAnA4tM1E3XgTlbRhwt5vhZEtn3TyQ =tBt1 -----END PGP SIGNATURE----- --------------enigEFFEDC71A351E630FB946B6E--