Linux下安装GD

作者:网络 来源:佚名 更新时间:2008-03-18 16:11:06 点击:
注册会员,创建你的web开发资料库, 安装gd--------------------------------------------------------------------
tar -zxvf gd-2.0.27.tar.gz
cd gd-2.0.27
./configure --prefix=/usr/local/gd2
make
make install

安装php-------------------------------------------------------------------

tar zxvf php-4.3.8.tar.gz
cd php-4.3.8
./configure --with-mysql --with-gd=/usr/local/gd2 --with-apxs2=/usr/www/bin/apxs
make
make install
cp php.ini-dist /usr/local/lib/php.ini