you could try portupgrade php5-* to sort out the modules.