红联Linux门户
Linux帮助

How to configure php+apache+gd in Ubuntu?

发布时间:2008-08-17 21:07:58来源:红联作者:Drcede
1. install httpd-2.2.9.tar.gz (apache)

2. install zlib-1.2.3.tar.gz

3. install jpegsrc.v6b.tar.gz (note: jpegsrc.v6.tar.gz won't work!!!)

./configure --enable-shared

4. apt-get install libpng-dev

5. install freetype-2.3.7.tar.gz

6. install php-5.2.6.tar.bz2

./configure --with-apxs=/usr/local/apache2/bin/apxs --with-gd --with-png-dir=/usr --with-jpeg-dir=/usr --with-freetype-dir=/usr --without-sqlite --without-pdo-sqlite
文章评论

共有 0 条评论