欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

Linux下安装GD_PHP教程

程序员文章站 2022-05-25 15:11:20
...
安装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 (出处:Viphot)

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/314047.htmlTechArticle安装GD-------------------------------------------------------------------- tar -zxvf gd-2.0.27.tar.gz cd gd-2.0.27 ./configure --prefix=/usr/local/gd2 make make install 安装PHP...