ubuntu安装php curl扩展

来源:互联网 发布:2017优化六上数学答案 编辑:程序博客网 时间:2024/04/28 06:49
./configure --with-php-config=/usr/local/php5/bin/php-config --with-curl
提示错误:
configure: error: Please reinstall the libcurl distribution -    easy.h should be in /include/curl/

基本上确定是丢失了什么包所致,上网搜索得到需要事先安装的依赖包。

# RetHat CentOS or Fedora 使用下面安装命令yum install curl curl-devel# Debian or Ubuntu使用下面的安装命令apt-get install curlapt-get install libcurl4-gnutls-dev
0 0