updated php version and removed gd