GDを有効にする
http://www.gadgety.net/shin/tips/unix/php-gd.htmlなどを参考にする。
・PNG http://www.libpng.org/pub/png
・zlib http://www.gzip.org/zlib/
・FreeType http://www.freetype.org/
・JPEG library ftp://ftp.uu.net/graphics/jpeg/
が必要なことがわかる。
http://www.phppro.jp/phpmanual/php/function.imagefttext.htmlなどを見ると
PHPのconfigureで引数に入れる必要があることが分かる。
↓
↓
やってみたがいまだ解決せず(php.infoで表示が全くなし。)
↓
↓
PHPのconfigureで明示的にGDのパスを指定していなかったので、「明示的にGDのパスを指定していないので,phpにバンドルされているGDを使用していませんか? 」にあるようにバンドルされているGDでインストールしていたらしい。
↓
↓
GDインストール(http://www.gadgety.net/shin/tips/unix/php-gd.html#MODULE)
→PHPのconfigure(./configure --prefix=/usr/local/php-5.2.5 --enable-ftp --enable-mbstring --enable-zend-multibyte --with-apxs2 --with-mysql --with-mysqli --with-gd=/usr/local --enable-gd-native-ttf --with-zlib --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-curl )
→「make clean」→「make」→「make install」でできた!
(PHPおよびGD削除(http://www.playstudy.net/linux/php-gd.html)→GDインストール(http://www.gadgety.net/shin/tips/unix/php-gd.html#MODULE)→GDのパスを明示してPHPインストール(http://honana.com/php/5/install.html)→Apache再起動)
でどうか?