GDを利用するための設定

php.iniの
;extension=php_gd2.dll

この行のコメントをはずします。

webサーバーを再起動します。

http://www.aditus.nu/jpgraph/jpdownload.php
からjpgraph-2.0alpha.tar.gzをダウンロード

解凍したsrcフォルダをjpgraphにリネーム

jpgraphフォルダをC:\php\includes\に入れる。
includesフォルダが無ければ作成する

php.iniの
include_path = ".;c:\php\includes"
を以下のように変更する。
include_path = ".;c:\php\includes;C:\php\includes\jpgraph"