Andrew Cashner allowed two runs on four hits over 7 2/3 innings and Jedd Gyorko and Chase Headley had three hits apiece Tuesday night as the Padres routed Philadelphia 8-2 in the opener of a 10-game road trip.

The win was the fourth straight for the Padres and their sixth in the last seven games.

Cashner retired the first 11 Phillies he faced and held an 8-0 lead when the Phillies scored on Cody Asche’s fifth homer of the season in the bottom fifth. He had faced only two hitters over the minimum through seven innings before issuing a walk and two singles in the eighth.

The right-hander finished with seven strikeouts while stretching his season innings total to 159.

The Padres quickly got on the board in the first when Gyorko doubled off the top of the wall in left and scored on Headley’s two-out single. The Padres added three runs in the fourth and four in the top of the fifth.

Gyorko was 3-for-4 with a double three runs scored and a RBI. Headley was also 3-for-4 with two RBIs and a run scored. It was the third baseman’s first three-hit game since July 7 and first two-RBI game since July 5.