Freddy Galvis followed with a two-run home run to right field.
The Phillies scored five more runs in the sixth to make it 9-1. Both Galvis and Frandsen finished the game with three RBIs.
Hernandez allowed 11 hits, nine runs, one walk and had no strikeouts in six innings.
Phillies left-hander Raul Valdes started. He allowed two hits and one run and struck out five in three innings.
The Rays took a 1-0 lead in the third when Jason Bourgeois singled to right and scored on Sean Rodriguez's double to left.
Up next: Jeff Niemann will start when the Rays host the Blue Jays Wednesday afternoon at Charlotte Sports Park in a 1:05 p.m. ET contest. Niemann will be making his final spring start before a decision is made for who will be the No. 5 starter, Niemann or Roberto Hernandez. Fernando Rodney is also scheduled to make his first appearance since staring for the Dominican Republic in the World Baseball Classic. J.A. Happ is scheduled to start for the Blue Jays.
Todd Zolecki is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.