NEW YORK (AP) — U.S. stocks are posting solid gains in early trading as Greece moves closer to sealing a deal for new loans from its creditors. The Standard & Poor's 500 index increased 23 points, or 1.1 percent, to 2,074 and the Nasdaq composite climbed 56 points, or 1.2 percent, to 4,979.