php53 5.3.24

A series of patches taken from FreeBSD ports and applied on top of our port.
No modification other than lang/php53 -> pfPorts/php53 replacements.