Justin Maxwell hit a two-run double and Matt Dominguez added a two-run single in Houston's four-run seventh inning as the Astros rallied for a 7-6 victory against the Philadelphia Phillies on Sunday.
Philadelphia lost three of four against Houston to fall 3 1/2 games behind St. Louis and Los Angeles in the National League wild card race.
Carlos Corporan and Scott Moore homered for the Astros, who remained one loss away from reaching 100 for the second straight season.
Wesley Wright (2-2) pitched a scoreless seventh. Wilton Lopez got the last five outs for his sixth save.
Jose Altuve reached on an error by third baseman Michael Martinez to begin the seventh and Jimmy Paredes was walked by Antonio Bastardo (2-5). Pinch hitter Brandon Laird walked off Phillippe Aumont to load the bases with one out, setting things up for Maxwell and Dominguez.