pecl install pecl_http出错:make: *** [http_request_body_api.lo] Error 1
具体bug描述参见:[url]http://pecl.php.net/bugs/bug.php?id=9657[/url]
这个ticket里的解决方法是在config9.m4中增加/opt/local的路径,思路是对的,不过实际操作下来不行
然后发现在安装时会询问
whether to enable cURL HTTP requests; specify libcurl directory 和
whether to enable support for gzencoded/deflated message bodies; specify zlib directory
这时先输入1,回车再输入/opt/local,再往下就OK了
具体bug描述参见:[url]http://pecl.php.net/bugs/bug.php?id=9657[/url]
这个ticket里的解决方法是在config9.m4中增加/opt/local的路径,思路是对的,不过实际操作下来不行
然后发现在安装时会询问
whether to enable cURL HTTP requests; specify libcurl directory 和
whether to enable support for gzencoded/deflated message bodies; specify zlib directory
这时先输入1,回车再输入/opt/local,再往下就OK了