php 5.2 and nginx related compatibility updates