如题:
编译安装提示如下错误
`
checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
`
提示curl版本过低。请问怎么升级
如题:
编译安装提示如下错误
`
checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
`
提示curl版本过低。请问怎么升级
1 回答4k 阅读✓ 已解决
3 回答1.8k 阅读✓ 已解决
2 回答2.2k 阅读✓ 已解决
1 回答2.3k 阅读✓ 已解决
1 回答2.9k 阅读
1 回答1.4k 阅读✓ 已解决
2 回答2.2k 阅读
None of these will allow you to compile PHP with cURL enabled.
In order to compile with cURL, you need libcurl header files (.h files). They are usually found in
/usr/include/curl
. They generally are bundled in a separate_development_package.Per example, to install libcurl in Ubuntu:
Or CentOS:
Then you can just do:
If you compile cURL manually, you can specify the path to the files without the
lib
orinclude
suffix. (e.g.:/usr/local
if cURL headers are in/usr/local/include/curl
).