The NL East-leading Phillies are on pace for their best season in franchise history and could clinch a playoff berth on Sunday with a win and a loss by St. Louis.
Hunter Pence and Placido Polanco homered for the Phillies, who are now 12 games ahead of Atlanta in the division.
Casey McGehee scored a run in a plate collision with Carlos Ruiz and drove in another off Phillies starter Cliff Lee to end his scoreless innings streak at 30 2-3.
But Milwaukee lost its fifth straight as its NL Central lead shrank to six games with the Cardinals' 4-3 win over the Braves. In the 10th, Ibanez led off with a double against Hawkins (1-1) and scored when Ruiz laid down a bunt.
Hawkins took a bad angle, thinking McGehee would field the ball from third, then fired well over Prince Fielder's head at first for an error.
Michael Stutes (6-1) pitched the ninth for the victory and Ryan Madson converted his 30th save.
Madson walked Corey Hart to start the inning and Hart reached second on Craig Counsell's bunt. Ryan Braun struck out and Fielder was intentionally walked for McGehee, who grounded out.
Philadelphia has dominated two of the other three NL playoff contenders over the last six games, also sweeping Atlanta. The Brewers, meanwhile, have their smallest division lead since Aug. 14.
McGehee reached second on a throwing error before his vicious forearm blow tied it in the second inning. Yuniesky Betancourt singled and Ruiz got center fielder Shane Victorino's throw in plenty of time and had the plate blocked well.
But McGehee lowered his body and slammed his forearms into the catcher's mask to jar the ball free, then popped up and let out an emotional scream with both fists clinched tightly for a team that's sputtering at the wrong time.
McGehee's RBI groundout in the fourth made it 2-1, but Polanco and the Phillies answered.
Polanco's homer just over the left field wall off Brewers starter Randy Wolf in the fifth was his first since June 10, and Lee escaped major trouble in the seventh to end his night.
Carlos Gomez singled with one out and stole second. Pinch hitter Rickie Weeks, playing for the first time since July 27, walked and left for a pinch runner. But Milwaukee failed to score after Jonathan Lucroy and Corey Hart hit deep fly balls to end the inning.
With the one earned run, Lee's ERA rose to 0.48 over 56 2-3 innings since the start of July. He failed to win a start for the first time since July 25.
Phillies slugger Ryan Howard (heel) was given an extra day out of the starting lineup, but entered as a pinch hitter in the eighth and struck out. Shortstop Jimmy Rollins (groin) pinch hit in the 10th and grounded out, marking his first appearance in a game since Aug. 21 after he was activated on Thursday.
NOTES: Pence homered in the first. ... Phillies 2B Chase Utley (concussion) will be re-evaluated next week. The Phillies say it's unlikely he'll join the team in Houston, but his recovery has been very positive so far and they're being cautious. ... Weeks (left ankle) played in a simulated game beforehand and pinch hit in the seventh. ... The Brewers called up RHP Mike Fiers and had him pitch in a simulated game to Weeks. Fiers is expected to be available out of the bullpen on Tuesday. ... Sunday's finale features Brewers RHP Yovani Gallardo (15-10, 3.71 ERA) against Phillies RHP Vance Worley (11-1, 2.85).