Carlos Ruiz and Michael Young hit two-run homers to back John Lannan, and the Philadelphia Phillies beat the San Francisco Giants 7-3 Tuesday night to snap an eight-game losing streak.