ST. LOUIS -- Matt Holliday made certain that Adam Wainwright's long day of work on a hot afternoon was not in vain.
Holliday lined a double to the wall in left center on a 2-2 pitch from Cole Hamels with one out in the eighth inning Saturday, bringing home third baseman Matt Carpenter from first to give Wainwright and the Cardinals a 4-1 victory over the Phillies.
The win snapped the Cardinals' three-game home losing streak and also ended the Phillies' winning streak at five games.
The Cardinals added two more runs in the inning after Jake Dierman relieved, Holliday scoring on a fielder's choice grounder and first baseman Matt Adams delivering his second sacrifice fly of the game.
Wainwright and Hamels were locked in a 1-1 tie from the third into the eighth inning, neither giving up much despite the 92-degree heat.
Wainwright, making his 200th career start and pitching for the first time since June 10 after missing a start because of tendinitis in his right elbow, scattered six hits over eight innings, two of which came from Hamels. He struck out seven and did not walk a batter.
Wainwright became the second 10-game winner in the National League and remained undefeated, 7-0, in home games over the last two years when the Cardinals wear an alternate jersey.
Trevor Rosenthal pitched the ninth to earn his 21st save.
Hamels allowed just five hits in his 7 1/3 innings of work, including a double by Wainwright. He struck out six and walked five, the final one issued to Carpenter leading off the eighth.
Hamels' scoreless streak ended at 24 2/3 innings in the second inning. He walked catcher Yadier Molina to open the inning, and a double from shortstop Jhonny Peralta down the left-field line moved him to third, setting up a sacrifice fly from Adams.
Hamels helped get that run back in the top of the third. Third baseman Cody Asche, a St. Louis-area native playing his second game at Busch Stadium, singled to lead off the inning, went to third on a hit-and-run single from Hamels and scored on a sacrifice fly by shortstop Jimmy Rollins.
Rollins extended his hitting streak to 15 games with a single off Adams' glove to lead off the eighth inning. Rollins has one hit in each of those 15 games, his longest streak since he ended the 2005 season with a hit in 36 consecutive games.
NOTES: Having scored only four total runs in three consecutive losses, the Cardinals made a couple of lineup changes on Saturday, moving RF Allen Craig into the second spot and batting C Yadier Molina cleanup, the first time he has hit in that spot this season. ... 2B Kolten Wong, mired in a 4-for-39 slump this month, got the day off. ... Phillies OF Ben Revere was out of the starting lineup for the fifth consecutive day because of a sore left knee. ... OF Tony Gwynn Jr. is expected to rejoin the Phillies from the bereavement list early next week. ... Sunday's series finale will feature a pitching matchup of RHP Kyle Kendrick for the Phillies against RHP Carlos Martinez for the Cardinals, taking the spot of normal starter RHP Michael Wacha, who is missing the start to get extra rest.