A1、安装zlib tar xzvf zlib-1.2.2.tar.gz cd zlib-1.2.2 #不要用--prefix自定义安装目录,影响gd的安装 ./configure make make install A2、安装freetype tar xzvf freetype-2.1.5.tar.gz cd freetype-2.1.5 ./configure --prefix=/usr/local/modules/freetype make make install A3、安装libpng tar xzvf libpng-1.2.5.tar.gz #不要用--prefix自定义安装目录,影响gd的安装 cd libpng-1.2.5 cp scripts/makefile.std makefile make test make install A3、安装jpeg tar xzvf jpegsrc.v6b.tar.gz ./configure --prefix=/usr/local/modules/jpeg6 --enable-shared --enable-static make make install A4、安装GD tar xzvf gd-2.0.33.tar.gz ./configure --prefix=/usr/local/modules/gd --with-jpeg=/usr/local/modules/jpeg6 --with-png --with-zlib --with-freetype=/usr/local/modules/freetype make make install
|
正在阅读:Redhat9+Apache+Mysql+PHP+GD2+Perl安装教程Redhat9+Apache+Mysql+PHP+GD2+Perl安装教程
2008-06-20 21:46
出处:PConline原创
责任编辑:xuwei2
键盘也能翻页,试试“← →”键