ST. LOUIS -- Philadelphia rookie second baseman Freddy Galvis is supposed to be a temporary defensive replacement for injured All-Star Chase Utley.
Galvis showed on Thursday night that he can hit, too.
The 22-year-old ripped a tiebreaking RBI single in the sixth and drove in three runs to lead the Phillies to a 10-9 win over the St. Louis Cardinals in front of 40,135 at Busch Stadium.
Philadelphia won for the second night in a row after snapping a season-high four-game losing streak on Wednesday. The Phillies set a season high with 18 hits.
"I try to do whatever I can for the team, and that's play defense most of the time," Galvis said. "I try to relax at the plate, sometimes it works."
It certainly worked on Thursday.
Galvis had three hits in five at-bats and tied a career high with the three RBIs. His two-out single in the sixth snapped a 7-7 tie and put the Phillies ahead for good. Pinch-hitter Mike Fontenot followed with a run-scoring hit to pump the lead to 9-7.
Galvis, who now has 22 RBIs, also slapped a two-run single in the first to highlight a four-run uprising. He added a double in the eighth and pushed his average to .250.
"Freddy has done a tremendous job," manager Charlie Manuel said. "First of all, he had a good game. The last ball he hit, he put a real good swing on it."
Shane Victorino also drove in three runs with a 2-for-5 effort, while former St. Louis infielder Placido Polanco and Ty Wigginton chipped in with three hits apiece, with Wigginton clubbing a solo homer in the eighth that put the Phillies up 10-8. Catcher Carlos Ruiz also had a three-hit night.
On Wednesday, Galvis turned in a nifty running catch of a ball in short left field while playing shortstop. Sprinting with his back to the infield, he made a highlight-reel over-the-shoulder grab.
Twenty-four hours later, he let his bat do the talking.
"I just keep working and get more relaxed," Galvis said. "When I can do that, it seems like I put a good [swing] on the ball."
The Phillies' bullpen picked up starter Joe Blanton, who turned in his second poor outing in a row. Blanton gave up seven earned runs on 10 hits over 4 1/3 innings, surrendering home runs to Matt Holliday and Yadier Molina in the fifth. Blanton allowed six earned runs, including a career-high four homers, in a 7-5 loss to Boston on May 19.
Raul Valdes, Chad Qualls, Jake Diekman and Antonio Bastardo handed the game over to closer Jonathan Papelbon, who recorded his 13th save in as many chances.
St. Louis crept to within 10-9 on a pair of hits and a sacrifice fly in the eighth off Bastardo, who had not allowed a run in his previous 11 appearances. Bastardo, after walking Holliday, struck out Carlos Beltran with two runners on to end the threat.
Papelbon took over from there. Nursing a 10-9 lead, he gave up a single to Molina with one out in the ninth before rallying to strike out Daniel Descalso. Papelbon then got Steven Hill to fly to center to end the game.
"We were able to hold on to the lead and get a 'W,'" Victorino said. "Obviously, this year we haven't been able to do that. That shows us a sign that things are going in the right direction for us."
Philadelphia bolted out to an early 6-0 lead against St. Louis starter Jake Westbrook, who lasted just 3 2/3 innings.
The Phillies batted around in the opening frame and forced Westbrook to make 40 pitches. Polanco got the ball rolling with a one-out double. Hunter Pence drew a walk, and Ruiz was hit by a pitch to load the bases. Victorino brought in the first run with a grounder to first, and Wigginton followed with a run-scoring single up the middle. Galvis, the No. 8 hitter, then slapped a two-run single to push the advantage to four runs.
Philadelphia took an aggressive approach to the plate early, fouling off 14 pitches in the inning.
Victorino added a two-run double in the second to make it 6-0. Jimmy Rollins and Ruiz started the rally with singles. Rollins, who had two hits, returned to the lineup after missing three games while on paternity leave.
"I like the way we hit," Manuel said. "We're talented, and we're only going to get better."
Ruiz went 3-for-5 in his second career start, and second in as many nights, in the cleanup spot. He took a foul tip on his right wrist on Wednesday but was able to start on Thursday.
Manuel says he might leave Ruiz in the cleanup spot for a few games even though he is not a typical power hitter. Ruiz was 3-for-4 in his cleanup debut on Wednesday.
"He's hitting second cleanup, not first cleanup," Manuel joked. "I told him not to get used to it."
The Cardinals, who had won three in a row, scored four runs off Blanton in the third. They tied the game with a three-run outburst in the fifth that included the homers from Holliday and Molina. Molina's two-run blast knotted the game at 7.
"There were a lot of positives," St. Louis manager Mike Matheny said. "One is being down early and still having a chance to win the game."
Philadelphia kicked off a seven-game road swing. After four games in St. Louis, the team will travel to New York for a three-game set.
Steve Overbey is a contributor to MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.