php装curl拓展出错

错误:

checking for cURL in default path... not found

checking for cURL 7.10.5 or greater... ./configure: line 4152: curl-config: command not found

configure: error: cURL version 7.10.5 or later is required to compile php with cURL support。

系统的curl明明是7.29了,为什么还说是版本问题?但是从前两个提示不难看出curl还是少了点东西

通过https://www.cnblogs.com/sweetXiaoma/p/5855732.html查到需要

yum -y install curl-devel

对curl-devel进行更新或者下载

猜你喜欢

转载自www.cnblogs.com/SHQHDMR/p/9124010.html