PHILADELPHIA -- The D-backs tied a franchise record with six home runs -- including two each from Peter O'Brien and Yasmany Tomas -- and got a solid start from Robbie Ray to beat the Phillies, 10-2, on Friday night at Citizens Bank Park."There's no way to sugarcoat that," Phillies manager

PHILADELPHIA -- The D-backs tied a franchise record with six home runs -- including two each from Peter O'Brien and Yasmany Tomas -- and got a solid start from Robbie Ray to beat the Phillies, 10-2, on Friday night at Citizens Bank Park.

"There's no way to sugarcoat that," Phillies manager Pete Mackanin said. His team, for the second night in a row, allowed at least 10 runs, 16 hits and committed three or more errors.

Arizona catcher Welington Castillo and Paul Goldschmidt also homered for the D-backs, who pounded out 16 hits. It was the first time Arizona hit six homers in a game since June 20, 2012. Ray, meanwhile, allowed two runs on seven hits over six innings to win his second straight start.

"You know if you get the barrel of the bat on the ball in this ballpark, you've got a chance," D-backs manager Chip Hale said. "One thing, when you get some runs, we preach it, 'Let's keep the line moving. Don't let the other team feel like they can come back in the game.'"

The Phillies grabbed a 2-0 lead in the first inning when Cameron Rupp's two-out triple off the wall in right-center scored Cody Asche and Tommy Joseph. Philadelphia committed three errors, however, which led to three unearned runs.

"More times than not, they're going to make those plays," Morgan said. "That's no excuse for how the ballgame went."

MOMENTS THAT MATTERED

Hits that count: O'Brien entered Friday's game with just one hit in 15 big league at-bats this year, a home run June 12 against the Marlins. When the night was done he was 3-for-20 with three home runs. O'Brien hit a three-run homer to right-center in the fifth and a solo shot to left in the seventh. O'Brien had 17 home runs in Triple-A Reno before being called up.

"Let's mix in some singles, huh?" O'Brien joked. "I'll mix them in when they come, but I'll keep taking the homers." More >

Errors cost Phils ... again: Two Cesar Hernandez errors in the second extended the inning and allowed the first two D-backs to cross the plate. First, Hernandez couldn't grab a slow roller that got past Morgan, putting Ray on first and Jake Lamb high-fiving teammates in the dugout. On the next play, Hernandez let a Jean Segura grounder roll under his glove and through his legs into the outfield grass, bringing home Nick Ahmed. The Phillies' seventh error in the last two games came after Morgan caught Michael Bourn in a rundown between second and third, but Joseph dropped the ball on a tag. Bourn came around to score on an O'Brien home run the next at-bat.

"I'm not going to criticize guys for making physical errors," Mackanin said. "Mental mistakes I have a problem with, but physical errors I don't. I don't like them, but it's part of it. You strike out, I'm not gonna criticize you. You make an error, I'm not gonna criticize you. I wish you didn't strike out or make an error, but it just is what it is."

Hernandez was unavailable to comment after the game. His seven errors at second base trail only the Reds' Brandon Phillips, who has nine.

Homer (not so) happy: The Phillies have allowed 23 runs over their last two games. Of those, 15 have come off the long ball. The D-backs left the yard six times Friday, marking the second straight game the Phillies have allowed at least five home runs. They're the first team since the 2012 Cubs to allow such a feat. Over their last four games, the Phillies' opponents have 17 blasts -- a franchise record for most home runs allowed over a four-game span. More >

Philly fanatic: Something about playing the Phillies brings out the best in Tomas. Last year, he hit his first Major League home run at Citizens Bank Park and was 8-for-15 with two homers against the Phillies. Friday, he picked up where he left off, going 2-for-5 with a pair of homers, the second multi-homer game of his career.

"Every time I go out at a park, this one or any other, I feel good, with good confidence," Tomas said. "For me, I never will forget that here was my first home run, so that's why I believe I have more confidence here than in other parks."

QUOTABLE

"So much for my team meeting." -- Mackanin, on the meeting he called after Thursday's 13-2 loss

WHAT'S NEXT

D-backs:Zack Greinke (9-3, 3.75 ERA) starts for the D-backs on Saturday at Citizen Bank Park 12:05 p.m. MT. The right-hander is riding a six-start winning streak and has a 2.05 ERA over that stretch with 35 strikeouts and six walks. He is 6-1 with a 2.68 ERA in his career against the Phils.

Phillies:Jerad Eickhoff (4-8, 3.40) will look to continue a roll of his own in Saturday's matinee at 3:05 p.m. ET. He owns a 1.37 ERA over his last three starts. The Phillies are in need of another strong outing from Eickhoff, having lost 21 of their last 27 games. Their starters have an ERA of 8.45 over their last eight.

Watch every out-of-market regular-season game live on MLB.TV.