SAN FRANCISCO (AP) -- Jhonny Peralta hit a two-run homer among his two hits and Carlos Martinez earned his second win as a starter, and the St. Louis Cardinals beat the reeling San Francisco Giants 7-2 on Thursday.
Martinez (2-3) also drove in a run for the Cardinals, who won their second straight after losing three in a row. Martinez allowed a run and five hits in five innings. He walked one and struck out six.
Madison Bumgarner (9-6) fell to 0-3 over his past four home starts after allowing five runs -- four earned -- and six hits over five innings. He walked three and struck out six.
Bumgarner also drove in a run for the Giants, who have lost 17 of 22 and fell out of first place in the NL West.