CLEARWATER, Fla. -- Freddy Galvis hit a two-run homer and the bullpen patched together eight effective innings as the Phillies beat an Orioles split squad, 5-3, Sunday in front of a sellout St. Patrick's Day crowd at Bright House Field.

Roy Halladay, making his first start since allowing six runs on seven hits in 2 2/3 innings, left the game after just one inning. The Phillies quickly announced that he came out of the game due to a stomach virus.

Halladay allowed a hit and a walk in the top of the first. The Orioles took the lead against Zach Miner in the second when Steve Pearce hit a one-out homer to left-center.

The Phillies, however, chipped away at Baltimore starter Jason Hammel. Erik Kratz led off the bottom of the third with a double, went to third on an infield out and scored the tying run when Ben Revere doubled to left.

Ryan Howard opened the fourth with a single, went to third on a double by Michael Young and scored when Domonic Brown grounded out to the right side. It was Brown's ninth RBI of the spring.

Revere walked with one out in the fifth, and Galvis followed with his second home run of the spring. The Phillies tacked on again against Orioles reliever Tommy Hunter in the sixth. Brown singled with one out, went to second on a passed ball and to third on a base hit by Darin Ruf, then scored when Kratz grounded into a force play.

Jeremy Horst, Phillippe Aumont, Jordan Whatcott, Colby Shreve and Ryan O'Sullivan combined to limit the O's to seven hits and two runs over the final six innings.

Up next: With Cliff Lee scheduled to pitch in a Minor League game at the Carpenter Complex, right-hander Aaron Cook will start against the Braves on Monday at Lake Buena Vista, Fla. The 1:05 p.m. ET game will be broadcast on MLB.TV and ESPN.