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: matt...@infracaninophile.co.uk               Kent, CT11 9PW

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to