PHILADELPHIA -- Carlos Beltran hit a go-ahead solo homer off reliever Mike Adams in the eighth inning Thursday night and reliever Edward Mujica worked out of a ninth-inning jam as the St. Louis Cardinals beat the Philadelphia Phillies, 4-3.
Beltran, a switch hitter batting from the left side, lined a 2-1 pitch from Adams (0-1) into the left-field seats with one out in the eighth, as the Cards (9-6) won for the second time in three games.
The Phillies (6-10) lost their fourth straight.
Beltran's homer, his second of the year, made a winner out of Adam Wainwright (3-1), who pitched seven innings. He allowed nine hits and three runs, while striking out four. He did not walk a batter, and has yet to issue a base on balls in 29 innings this season.
The Phillies also went their fourth straight game without drawing a walk.
Mujica struck out pinch hitter Laynce Nix with two runners on to end the eighth, then allowed singles to the first two hitters he faced in the ninth, Ben Revere and Erik Kratz.
With the infield up, pinch hitter Kevin Frandsen grounded out, with Kratz taking second. Mujica, who earned his first save, then struck out Jimmy Rollins and retired Freddy Galvis on a grounder to second to end the game.
After watching the Phils score 52 runs in their first 15 games -- a total that left them tied for 22nd in the majors, manager Charlie Manuel changed his lineup Thursday. He moved Rollins from the No. 2 slot to leadoff, where he had usually batted in previous years, and dropped Revere from leadoff to No. 7 in the order.
Galvis, a utility infielder, moved into the two-hole and played left.
The new lineup paid dividends in the sixth, when the Phils scored twice against Wainwright to forge a 2-2 tie. Back-to-back doubles by Rollins and Galvis brought in the first run, and Chase Utley punched a single through the middle, sending Galvis home.
The Cards broke back on top in the seventh, when Pete Kozma's sacrifice fly off Cole Hamels scored David Freese, who had led off the inning with a double and moved to third on Jay's sacrifice.
The Phils knotted it once more, at 3-3, on an RBI single by Kratz in the bottom of the seventh.
Hamels, who also worked seven innings, gave up five hits and three runs while walking two and striking out eight.
The Cardinals scored twice off Hamels in the fourth. After Matt Holliday drew a leadoff walk, Phillies right fielder John Mayberry Jr. fell while chasing a fly ball to right center off the bat of Allen Craig, and the ball fell for a double.
Yadier Molina then lined a ball down the right-field line that was ruled fair by first base umpire Alan Porter, resulting in a double that chased both runners home. Manuel emerged from the dugout to question whether the ball was fair or not, and television replays appeared to show it landed just foul.
The Phillies' best threat in the early innings came in the bottom of the fourth, when Utley and Howard singled with one out. But Michael Young then grounded into an around-the-horn double play, ending the inning.
NOTES: The Phillies placed starting pitcher John Lannan on the 15-day disabled list with a strained quadriceps tendon near his left knee, and Manuel said it is possible Lannan could miss six to eight weeks. The team will make a corresponding roster move Friday. General manager Ruben Amaro told reporters one of four pitchers currently toiling at Lehigh Valley, the team's Triple-AAA affiliate, will be promoted to fill Lannan's spot in the rotation. Either Tyler Cloyd, Jon Pettibone, Adam Morgan or Ethan Martin will get the call. St. Louis began the night leading the majors in hitting with runners in scoring position (.392) and hitting with runners in scoring position and two outs (.424).