portmaster problems upgrading to php 5.3.4

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Dec 28 23:07:56 UTC 2010


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

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20101228/abb7d81d/signature.pgp


More information about the freebsd-questions mailing list