The win improved Philadelphia to 1-0 without All-Star Chase Utley, who broke his hand Thursday and was placed on the 15-day disabled list.
"We're going to have to play baseball with him or without him," said Jamie Moyer, who pitched one of his best games of the season.
To take Utley's spot, the Phillies traded for Tadahito Iguchi, sending Minor League right-hander Michael Dubee to the White Sox.
The moves forced manager Charlie Manuel to jostle his lineup, a process he said he began Thursday night and cost him precious sleep.
The final product included Michael Bourn, a name frequently mentioned in trade rumors, batting leadoff.
If Bourn was unknowingly auditioning for a new role elsewhere, he nailed it. He had a career-high four hits in as many at-bats, scored twice and stole his 17th base of the season.
He hit three different types of pitches off three different pitchers while filling in for everyday center fielder Aaron Rowand, who hurt his shoulder playing tag with neighborhood kids and is day-to-day.
Bench coach Jimy Williams told Bourn early Friday that he had a chance to start, and the 24-year-old made the most of it.
"I had a good day today," Bourn said. "That's all I can say."
Bourn said Thursday he had no idea his name had been mentioned as a possible dealing piece. He reiterated on Friday that he hadn't even bothered to look at any rumors.
"It's out of my hands," he said.
Pat Burrell homered and doubled for the Phillies, who chased Pirates starter John Van Benschoten after 2 1/3 innings.
The left fielder is batting .446 in July, with five home runs and 20 RBIs. He's raised his average to .254, his highest since May 17.
"His selection's better," Manuel said. "He's getting better balls to hit."
And with all that was going on Friday, Jamie Moyer was as steady as ever.
His only run allowed was unearned and he pitched seven innings without a walk.
The left-hander walked to the mound to start the eighth, but earned a poor man's complete game after thunder and lightning ended the delay and the game.
Moyer hasn't pitched a scoreless outing since June 22 against St. Louis. Between then and Friday, he had gone 1-3 and his ERA had ballooned to 5.01.
But he rebounded against the Pirates on Friday.
"I know when I throw the ball well, I know when I've not thrown the ball well," Moyer said. "It's not always reflected in results."
He could have afforded to be less stingy Friday.
The Phillies sent 12 batters to the plate in the third inning and didn't record an out until the eighth hitter, Abraham Nunez, grounded into a fielder's choice. Jimmy Rollins, Greg Dobbs and Carlos Ruiz all added RBIs.