updated config and readme to support php 5.3