您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
免费发信息

enable gd support in php

2024/4/24 13:31:16发布6次查看
for the new user, it's very common that will have problem to enable gd support in php, after fail and retry for hours, i figured out to use the steps below to get it work:
1. download/compile/install libpng
2. checkout the libjpeg if you can't get access to their website:
cvs -z3 -d:pserver:anonymous@libjpeg.cvs.sourceforge.net:/cvsroot/libjpeg co -p modulename
3. compile/install libjpeg
4. run make clean at the source directory of php (important, otherwise you will run into some weired error)
5. the configure for php should be like this:(use the exact directory suits your environment)
./configure --with-mysql --with-gd --with-apxs=/usr/local/apache/bin/apxs --with-jpeg-dir=/usr/local/lib
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录