updated the brew php version and added some flags