The Phillies snapped a three-game losing streak and handed the Padres a National League-high 22nd loss in 33 games this year.

Mayberry hit a two-run homer in the second inning to open the scoring and, after San Diego tied it in the fourth, Ruiz produced a two-run blast in the bottom half of the frame to give the Phillies the lead for good.

Both Ruiz and Mayberry added an RBI single in the seventh.

Vance Worley (3-2) struck out nine over six innings to get the win. He allowed three runs on six hits after being touched for five runs on 11 hits in his previous start against Washington.

The home runs by Ruiz and Mayberry came off Clayton Richard (1-5), who surrendered five runs on eight hits over 5 1/3 innings.

United Press International is a leading provider of news, photos and information to millions of readers around the globe via UPI.com and its licensing services.

With a history of reliable reporting dating back to 1907, today's UPI is a credible source for the most important stories of the day, continually updated - a one-stop site for U.S. and world news, as well as entertainment, trends, science, health and stunning photography. UPI also provides insightful reports on key topics of geopolitical importance, including energy and security.

A Spanish version of the site reaches millions of readers in Latin America and beyond.

UPI was founded in 1907 by E.W. Scripps as the United Press (UP). It became known as UPI after a merger with the International News Service in 1958, which was founded in 1909 by William Randolph Hearst. Today, UPI is owned by News World Communications.