/*
Come from to xixifeng.com
author: xixifeng
16:25 2012/10/18
*/
前提php已经安装
说明:(/web/unpack/lamp/php-5.2.6/: php的安装目录)
cd /web/unpack/lamp/php-5.2.6/ext/curl/
/web/progm/lamp/php_5_2_6/bin/phpize
./configure --with-curl=/web/progm/lamp/curl/ --with-php-config=/web/progm/lamp/php_5_2_6/bin/php-config
(如果报错信息如下:
Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
那么就安装curl-devel
)
安装
yum -y install curl-devel
#make
# make install(安装之后提示信息)
Installing shared extensions: /web/progm/lamp/php_5_2_6//lib/php/extensions/no-debug-non-zts-20060613/
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余1页未读,立即下载