摘要:
注意:在不同的扩展路径下 ./configure --help 的帮助信息不尽相同1、跟php一起安装下载http://curl.haxx.se/download/ curl 取较低的版本wget http://curl.haxx.se/download/curl-7.21.0.tar.gztar zxvf curl-7.21.0.tar.gzcd curl-7.21.0./configuremakemake install编译php时添加:./configure --with-curl=CURL_DIR2、php已经安装好了先安装 curl,如果用源码安装则需要指定目录,如果用yum ins 阅读全文
摘要:
注意:不要随便改变基础库的版本,否则会对别的软件产生编译错误1、基础依赖包安装: cd /software/zlib-1.2.3./configuremakemake install cd /software/libxml2-2.6.30./configure --prefix=/usr/local/libxml2/make make install cd /software/libmcrypt-2.5.8./configure --prefix=/usr/local/libmcrypt/make make installcd /software/libmcrypt-2.5.8/libltd. 阅读全文