安装GD,我也成功了,那些图片函数我也可以用,但有些函数如imagerotate要在绑定的GD库下才能用 你仔细看下phpinfo里面关于GD的信息,其中那个GD Version是bundled (2.0.28 compatible)才是绑定的,如果是2.0 or higher就不是了 你的GD库是什么情况?绑定的?
As you are probably aware, PHP has bundled an upgraded GD library for some time, which supports image rotation, convolution and alpha blending. The package php5-gd still uses Boutell's version of the library, which restricts the abilities of the PHP module.It would be great if future versions of php5-gd can be built against PHP's GD library in order that the GD module can be used to its greatest extent.这是网上找到的, 现在算是一个bug吧,再等两天ubuntu7.10出来不知道会不会修正
你所指的重新编译一次是?能不能具体点?
前者的可以直接apt-get install 安装 gd ,后者就要删掉之前的php 重新configure 加上 --with-gd,
还有安装好以后要重新启动apache
你仔细看下phpinfo里面关于GD的信息,其中那个GD Version是bundled (2.0.28 compatible)才是绑定的,如果是2.0 or higher就不是了
你的GD库是什么情况?绑定的?
http://blog.madtech.cx/2006/12/08/debian-etch-libapache2-mod-php5-with-bundled-libgd-gdlib/