The Brazilian has been linked with last night's opponents Barcelona.
But Galliani said: "Thiago Silva can leave? He's not for sale, he is a very important player.
"Zlatan Ibrahimovic? We are happy to have him in the team, he is expressing himself at great levels with Milan, confirming that he's one of the greatest players in the world."