More php fixes.