没有合适的资源?快使用搜索试试~ 我知道了~
Centos环境下安装curl
3星 · 超过75%的资源 需积分: 31 41 下载量 126 浏览量
2012-10-18
16:58:10
上传
评论 1
收藏 1KB TXT 举报
温馨提示
试读
2页
linux 环境下配置安装curl. 让php支持curl curl是利用URL语法在命令行方式下工作的文件传输工具。
资源推荐
资源详情
资源评论
/*
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/
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/
资源评论
- Ustudy2014-04-14谢谢分享,可以用
- robinlau2014-03-06多谢分享,问题搞定
- alexkwong2014-06-13还是谢吧!!
StellaAh
- 粉丝: 70
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功