BOSTON -- The Tampa Bay Rays ended a rough month of June with an encouraging win.
Tampa Bay began June with a 2½-game lead in the AL East and ended it two games behind the New York Yankees and one behind second-place Boston. The Rays were 11-14 in a month that Evan Longoria is happy to see come to an end.
"I am, yeah, and I think the team is, too," he said. "I think this will be kind of a turn-the-page thing for us."
Garza (9-5) was sharp in his first road game since June 18 when he gave up seven runs in 1 1/3 innings in a 7-4 loss at Florida, the worst start of his career. He threw 49 pitches in the first inning of that game but just 34 in the first three innings against Boston.
He left with a 9-1 lead before the Red Sox scored three runs in the eighth.
Garza has won four of his last five starts after losing three straight.
"I'm a smashmouth guy," the hard-throwing right-hander said. "I'm going to come at you and come at you hard. ... That's where I've got to get back to."
He got plenty of support from a team that had just 30 hits in a six-game homestand before Tuesday's 8-5 loss in Boston in which the Rays had 12 hits. They added 11 on Wednesday when they won for the sixth time in 18 games.
"We're keeping our head above water. We're not going away," Rays manager Joe Maddon said. "To go through these tribulations offensively and still be right in the thick of things, I'll take it."
No Red Sox runner got past first base through five innings and, by that time, the Rays had a 3-0 lead against Daisuke Matsuzaka (5-3).
Matt Joyce led off the fourth with a walk and took third on a single by John Jaso. Kelly Shoppach doubled home both runners and scored on a single by Ben Zobrist.
The Red Sox broke through with two outs in the sixth when Garza hit Eric Patterson with a pitch before David Ortiz had an RBI double to pull to 3-1. Boston then stranded two runners in the seventh against Garza.
"He kept executing pitch after pitch," Jason Varitek said. "We took some good swings a lot of times, but he kept executing his pitches."
Red Sox right-hander Manny Delcarmen faced five batters in the eighth and all of them scored. His troubles began when he allowed a single to Evan Longoria. Carlos Pena followed with an RBI double and then took third on a single by Joyce. A walk to Jaso loaded the bases and Sean Rodriguez followed with a two-run single.
"He's still having a little bit of trouble with [arm] extension," Boston manager Terry Francona said of Delcarmen, who has been dealing with a sore elbow. "We talked to him after the game. We'll still get it checked out."
Ramon Ramirez replaced Delcarmen and Shoppach sacrificed to advance the runners. Jason Bartlett then hit an 0-2 pitch over the left-field wall for his second homer of the season, extending the lead to 9-1.
Garza struck out five, walked two and allowed three runs, two of them scoring in the eighth on Ortiz's double on the only pitch thrown by Randy Choate. He entered the game after Garza gave up singles to the first two batters, Marco Scutaro and Patterson.
Tampa Bay wasted an excellent opportunity in the first when Matsuzaka had early control problems for his second straight start since coming off the disabled list with a strained right forearm. Last Thursday, he walked three batters and threw 37 pitches in the first inning when Colorado scored twice in Boston's 13-11 win in 10 innings.
On Wednesday, he also issued three walks in the first -- to leadoff batter Zobrist and, with two outs, to Pena and Joyce. Matsuzaka got out of the jam by retiring Jaso on a fly ball to center.
Bartlett snapped a stretch of 21 consecutive solo homers. ... Boston RF J.D. Drew was scratched from the original lineup with a stiff neck. ... Tampa Bay activated OF Gabe Kapler from the disabled list and designated IF/DH Hank Blalock for assignment. ... The Rays open a four-game series on Thursday against Minnesota at Target Field, which replaced the Metrodome as the Twins home this year. "I'm really not sad at all" by the change, Maddon said. "One of my most unfavorite stadiums of all time. I'm just being honest." ... Francona was happy about Doc Rivers' decision to return as coach of the Boston Celtics. "I'm thrilled. I'll re-up my tickets as soon as possible," he said.