Since getting swept by Houston from July 25-27, the Phillies have won six of nine to pull 1 1/2 games behind the wild card-leading Astros.
Third in the wild card race, the Phillies are a half-game behind Washington and a half-game ahead of Florida.
After dropping the series opener 3-1 on Friday, the Phillies took the middle game of the set 8-2 behind seven strong innings from John Lieber.
The veteran right-hander allowed two runs and struck out seven, and Jimmy Rollins homered among his three hits and scored three runs.
“Lieber threw good, 109 pitches is the farthest he’s gone in a while and it’s something we needed from him,” Phillies manager Charlie Manuel said.
Back below .500, the Brewers had their three-game winning streak snapped with Saturday’s loss.
Milwaukee starter Chris Capuano lost for the first time since June 13—a span of 10 starts.
Capuano, who had won his last seven decisions, allowed four runs—three earned—on six hits over five innings. He walked four, struck out five and misplayed two balls hit back to him.
“I didn’t throw the ball well and didn’t field my position very well. That was embarrassing,” Capuano said.
The Brewers, who won five of six heading into this series, are sixth place in the wild card standing, 4 1/2 games behind the Astros.