Recompile PHP With GD Support Installing GD For PHP On Linux
Getting GD
cd /usr/local/ wget http://www.boutell.com/gd/http/gd-2.0.9.tar.gz tar -xvzf gd-2.0.9.tar.gz cd gd-2.0.9 cd .. ln -s gd2.0 gd
Adding GD Support to PHP
Use the configure command used last time and add --with-gd=/usr/local/gd
If you already have an older version of gd in /usr/lib and /usr/include, you may wish to use:
./configure --prefix=/usr
To ensure that your new installation overwrites the old.