Upgrade php to 5.4.31 and 5.5.15

I'm assuming this is too late for the current build, but it's here, ready for the next one. :)