Marlins beat Phillies 5-4 behind two Hanley Ramirez home runs.