Pain never felt so pleasant to Mike Redmond.

When Giancarlo Stanton put the Marlins ahead with a two-out, two-run homer in the eighth inning Tuesday, Logan Morrison started hitting his manager in the ribs.

“LoMo was behind me when Stanton hit the home run, and he gave me about three rib shots,” Redmond said. “So I might need an ice pack tomorrow. I’m out of practice for that.”

Stanton’s blast off Brewers reliever Jim Henderson gave the Marlins a dramatic, 5-4 victory over Milwaukee before the smallest crowd in Marlins Park history: 13,110.

Those who were there saw a rare Marlins performance. And they saw what the return of Stanton and Morrison means to a lineup that was dead without them.

Morrison drove in his first run in 11 months, and Stanton belted his first homer since April as the Marlins squandered a 3-0 lead before gaining a come-from-behind victory.

“Morale-wise, to have Lomo and Stanton back in the lineup, that’s a big life,” Redmond said.

Morrison drove in the game’s first run in the Marlins’ three-run second inning, one in which the Marlins reeled off five consecutive hits. It was his first RBI since July 6 of last season. Derek Dietrick followed with a two-run homer that traveled 408 feet and landed in the upper deck in right.

But the Brewers chipped away, taking advantage of some slopping fielding and a successful suicide-squeeze to take a 4-3 lead.

Marlins starting pitcher Jacob Turner cost himself a run when he threw the ball away on a pickoff attempt, and Stanton allowed a base hit to get by him for a triple, which led to the Brewers’ go-ahead run in the seventh.

“I was so upset earlier in the game because I was was bringing us down I felt like,” said Stanton, who returned from the disabled list on Monday.

Stanton made up for his subpar performance in a big way, though.

Juan Pierre barely beat out an infield hit with one out to get things going for the Marlins. After Ed Lucas struck out, Stanton dug in and skied Henderson’s first pitch — a slider — to left center.