Updated php compile code