使用curl报错

WBOY
WBOYOriginal
2016-06-13 10:27:171119browse

求教:使用curl报错
系统:centos6.2

php版本:5.2.17

phpinfo:
cURL support enabled
cURL Information libcurl/7.26.0 OpenSSL/1.0.0 zlib/1.2.3 libidn/1.18

错误信息:Fatal error: Call to undefined function curl_init()

求教!!!

------解决方案--------------------
我只能怀疑你用的不是同一个php解释器。
在这个php文件中输出phpinfo()信息看看
------解决方案--------------------
少个curl的扩展..去网上搜一下吧,肯定有解决的办法

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn