French banks agreed to accept slower repayment of Greece's debt, giving Greece more time to meet its other immediate financial obligations. Greek lawmakers are expected to vote this week on more budget-cutting measures.
Amazon.com Inc. rose 4.5 percent, the top-preforming company in the S&P 500 index. Morgan Stanley analysts said the online retailer should benefit from expanding international sales
The Dow Jones industrial average rose 109 points, or 0.9 percent, to 12,044. The S&P 500 rose 12, or 0.9 percent, to 1,280. The Nasdaq rose 35, or 1.3 percent, to 2,688.
Two stocks rose for every one that fell on the New York Stock Exchange. Trading volume was 3.2 billion shares, lighter than average.