The Cottagers have signed the pair for a joint fee of 6.3 million pounds.
Zamora, 27, had been at Upton Park since January 2004 when he joined th east London club from Tottenham Hotspur.
The striker told Fulham's official website: "I am delighted that we have reached an agreement to enable me to
play for Fulham next season."
"I am looking forward to joining the rest of the team this week and preparing for the new campaign."
Ghana international defender Pantsil joined the Hammers in August 2006.