portmaster problems upgrading to php 5.3.4
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:
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.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
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...
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