Home > Backend Development > PHP Tutorial > 使用curl报错

使用curl报错

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:27:17
Original
1152 people have browsed it

求教:使用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的扩展..去网上搜一下吧,肯定有解决的办法

Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
curl simulated login
From 1970-01-01 08:00:00
0
0
0
Convert cURL command line to PHP cURL code
From 1970-01-01 08:00:00
0
0
0
Convert command line cURL to PHP cURL
From 1970-01-01 08:00:00
0
0
0
How to set boolean value true in php curl
From 1970-01-01 08:00:00
0
0
0
Please tell me, php curl request page shows blank
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template