Getting things working with php 5.3 first