编译PHP的--with-gd=/usr/include 错误提示: configure: error: Unable to find gd.h anywhere under 表明已经装好GD库啦,把后面的路径取消就可以啦 --with-gd --with-jpeg --with-png ok