Home  >  Article  >  Backend Development  >  已经度娘谷哥过了.还是开启不了curl.该如何处理

已经度娘谷哥过了.还是开启不了curl.该如何处理

WBOY
WBOYOriginal
2016-06-13 13:16:191011browse

已经度娘谷哥过了..还是开启不了curl...
已经按照搜索引擎上的做法..把那些DLL复制过去..再修改php.ini...重启..但是还是不行。。phpinfo打印出来也显示不行..还有什么问题会导致无法开启?

phpinfo()

curl
cURL support enabled  
cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3  



------解决方案--------------------
404是你无法访问吧跟curl起没起作用没啥关系,换个能访问的地址抓一下 比如 csdn....

探讨

没用 error 404引用:

1、确认你的环境支持短标记,否则用
2、$ch = curl_init(“http://www.php.net”); //双引号改为半角
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