CHICAGO -- Roy Halladay had trouble gripping the ball in the steamy conditions, Domonic Brown's sore right heel started to bother him again and the Philadelphia Phillies just kept plugging away.

It turned into the perfect homecoming for Ryne Sandberg.

Michael Young had four hits, including a tiebreaking RBI single in the ninth inning, and the Phillies rallied for a 6-5 victory over the Chicago Cubs on Friday in Sandberg's return to Wrigley Field.

"It's a good one to get. Sure, down 5-0 out of the chute," Sandberg said. "The guys battled back. Good energy after that. Anytime you rally to come back like that it goes well with the guys. But yeah, extra special."

More On The Cubs

Can't get enough Cubs information? ESPNChicago.com has all the latest from the North Side. Blog

Kevin Frandsen had two hits and scored two runs after entering in the sixth, helping Philadelphia bounce back from Thursday's 11-3 loss to the New York Mets. Chase Utley added a key two-run triple.

The Phillies improved to 9-6 since Sandberg was promoted to interim manager when Charlie Manuel was fired on Aug. 16. The Hall of Fame second baseman spent most of his playing career with the Cubs and was cheered all day long in his first trip to Chicago since he was elevated to the top spot in Philadelphia.

"The four hits from Young and the home run from Frandsen, I had some flashbacks," Sandberg cracked.

Anthony Rizzo and Nate Schierholtz homered for the Cubs, who went 3 for 10 with runners in scoring position and left nine runners on base. Starlin Castro had two doubles and two RBIs in Chicago's fourth loss in five games.

"We can't get a big hit to seal the deal," manager Dale Sveum said. "To add on runs is what you preach. We just couldn't add on."

Roger Bernadina used his speed to set up Young's winning hit. He was hit by a pitch from Kevin Gregg (2-4) with one out, swiped second and raced home when Young's blooper landed in front of Schierholtz in right field.

"Fortunately it found a patch of grass out there," Young said. "I've faced him a lot over the years and he's got good stuff. The only thing I was really trying to do was keep my approach relatively simple."

B.J. Rosenberg (1-0) pitched a scoreless inning for the win and Jonathan Papelbon got three outs for his 23rd save. Utley made a great diving stop and throw on Schierholtz's grounder to second to end the game.

The victory wiped away some of the sting of Brown's nagging foot problem. The All-Star, who just returned to the lineup Thursday, was lifted in the sixth due to a sore right Achilles and is day to day.

The Cubs built a 5-0 lead against a struggling Halladay, but Jeff Samardzija was unable to hold on for his third consecutive victory. Philadelphia scored four times in the sixth after Frandsen's sinking liner got past diving center fielder Junior Lake for a pinch-hit triple.

Samardzija finally got out of the inning when Darin Ruf grounded into a double play, but Frandsen lined an 0-1 pitch into the bleachers in left with two out in the seventh, tying it at 5.

"It got away from me a little bit, a couple of hits," Samardzija said.

James Russell came on with two on and two out and got Utley to fly out to left, closing Samardzija's line. He gave up eight hits and walked two in his worst start since he lasted just 3 1/3 innings in a 12-1 loss at Philadelphia on Aug. 8.

Chicago had a chance to go back in front in the bottom half, but Dioner Navarro was thrown out when he tried to score from second on Darnell McDonald's pinch-hit single. John Mayberry Jr.'s throw from right field bounced a couple times and still beat the lumbering catcher to the plate, drawing groans from the crowd of 27,753.

"We can't catch a break today," Navarro said.

Halladay made his second start since he had right shoulder surgery in May. The two-time Cy Young Award winner pitched six effective innings in a 9-5 victory over Arizona on Sunday, but he struggled right from the beginning against the Cubs.

Halladay said he had trouble holding onto the ball due to the muggy day in Chicago. The gametime temperature was 91 degrees.

"After about the fourth inning, you would try to dry it off and it would come right back and would just drip right off," he said. "After that point, it was just kind of hard to hold on to it."

Rizzo connected for his 21st homer in the first inning, and Halladay hit consecutive batters in the second. He threw a ball behind Lake during Chicago's three-run fourth, drawing a stare from the rookie outfielder.

The right-hander allowed five runs and seven hits in five innings while throwing only 77 pitches.

"I had more of an issue holding on to the ball late in the game than anything," he said. "My arm felt good, shoulder felt good, nothing different there."

Game notes

Philadelphia announced during the game that it had reached a $12 million, three-year contract with Cuban pitcher Miguel Alfredo Gonzalez. It includes an option for 2017, a signing bonus and performance bonuses. Gonzalez will report to Philly's spring training complex in Clearwater, Fla. ... Phillies 3B Cody Asche rested for the second straight day after he left Wednesday's 6-2 victory at the New York Mets with a cramp and a mild right hamstring strain.

Copyright by STATS LLC and The Associated Press

More From 97.3 ESPN