Date: Tue, 28 Dec 2010 23:07:41 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: portmaster problems upgrading to php 5.3.4 Message-ID: <4D1A6DBD.50606@infracaninophile.co.uk> In-Reply-To: <AANLkTimy3mqrS78VunbKZn5FXYAP7rC9hpvvkcgyis8o@mail.gmail.com> References: <AANLkTik3cToPdntZWfO71SD3X7tArPJKHiccN4XizNFg@mail.gmail.com> <AANLkTimy3mqrS78VunbKZn5FXYAP7rC9hpvvkcgyis8o@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D1A6DBD.50606>
