Montero, dropped to the eighth spot in the batting order for the first time in two years, homered off the right-field foul pole leading off the eighth inning to lift the Arizona Diamondbacks past the Philadelphia Phillies 3-2 for their fifth straight victory.

"I told you before the game I felt like he's getting closer," Gibson said. "You really feel for him. When you're not hitting the ball well, it's on everybody's mind. But he doesn't have that luxury because he's a catcher."

Montero, who raised his batting average to .202 with the home run, said he thought recent luck would hold and the ball would hook foul before clearing the fence.

"I knew the ball was gone," Montero said. "I've had so much bad luck, I couldn't believe the ball was going to go foul. I knew the ball was out. I was just fortunate it hit the pole."

Martin Prado had an RBI single and Eric Chavez hit a run-scoring double for the Diamondbacks, who are 10-6 in one-run games this season. Arizona's past three wins all have been by a run.

Phillies right-hander Tyler Cloyd, pitching in the rotation spot vacated by Roy Halladay, held Arizona to one run and one hit in his first six innings. He retired Chavez to lead off the seventh but gave up a Cody Ross single before yielding to the bullpen with Philadelphia leading 2-1.

Anthony Bastardo came on and popped up Jason Kubel before Prado, who was 1 for 31 with runners in scoring position entering the game, looped a single to right to score Ross and tie the score 2-2.

Montero then drove the first pitch from Mike Adams (1-3) off the right-field foul pole to give Arizona its first lead.

"I didn't get on it how I wanted to and left it up and he took advantage of the mistake," Adams said. "It was one of those days again."

Tony Sipp (2-1) faced two batters in the top of the seventh for the win. David Hernandez put the first two runners on in the ninth via an error and a single but pitched out of trouble for his first save.

Cloyd walked three, struck out four and allowed the two runs and two hits in 6 1/3 innings.

"He gave us a good chance," said Phillies manager Charlie Manuel, whose club has lost three straight. "He pitched really good."

Arizona starter Ian Kennedy gave up two runs, six hits and three walks in seven innings with four strikeouts.

The Phillies wasted no time against Kennedy.

Jimmy Rollins drove Kennedy's first pitch into the right-field stands for his first leadoff home run of the season and the 44th of his career.

"I knew Rollins swings a lot at the first pitch, but what are the odds he's going to hit a home run," Kennedy said. "I just had to make a good pitch."

Chase Utley followed with a double but was thrown out at third base trying to stretch it into a triple. Michael Young walked and scored on the second of consecutive two-out singles by Carlos Ruiz and Domonic Brown.

The Diamondbacks answered in the bottom of the first when Paul Goldschmidt reached on a fielder's choice and ran through third-base coach Matt Williams' stop sign to score on a Chavez double down the right-field line to make it 2-1.

"I picked him up halfway to third and he was waving me (home) pretty hard," Goldschmidt said. "I looked down to get the bag, looked up and I saw the stop sign and it was too late to stop. I got fortunate that the throw was high."

NOTES: Cloyd, who was recalled earlier Friday, was optioned back to Triple-A Lehigh Valley after the game. The Phillies recalled left-hander Justin DeFrates from Lehigh Valley in the corresponding move. ... The Diamondbacks are six games above .500 for the first time since the end of the 2011 season. ... Rollins' 44th leadoff home run tied him with Brady Anderson for fourth on the career list. ... It was the fourth time Adams allowed a home run on the first pitch he has thrown. ... Montero, who entered the game batting .198, was hitting eighth for the first time since May 12, 2011, at San Francisco. ... John Mayberry got the start over Delmon Young in right field for the Phillies, only the second time Young has sat since making his season debut on April 30. Mayberry entered the game 3 for 5 in his career against Kennedy, including a double and a home run. ... Goldschmidt's 63-game errorless streak ended in the ninth inning.