PHP fixed from errors encountered at deployment