装完GD要重新装一遍PHP
configure的时候带上参数 --with-gd=/xxx/yyy
/xxx/yyy是GD的路径

解决方案 »

  1.   

    --with-gd-dir=/usr/local/gd/
    我已经带上的了..
      

  2.   

    #在GD安装目录
    tar xzvf gd-2.0.33.tar.gz
    cd gd-2.0.33
    ./configure --prefix=/opt/bin/gd2 --with-freetype=/opt/bin/freetype --with-png --with-jpeg
    make
    make install#在PHP安装目录
    ./configure --with-gd=/opt/bin/gd2 --enable-gd-native-ttf --with-jpeg-dir=/usr/local --with-png-dir=/usr/local
    make
    make install
      

  3.   

    我试过了 Mistruster(弱智d)的办法还是不行..那是不是PHP版本的问题呢./?
      

  4.   

    装完要重新启动服务参考这里:
    http://www.mistruster.com/bbs/index.php?viewid=321