Home >Backend Development >PHP Tutorial >php_curl win8 装配

php_curl win8 装配

WBOY
WBOYOriginal
2016-06-13 11:54:13984browse

php_curl win8 安装
http://www.macnie.com/php_curl-dll-%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%E5%9B%A0%E4%B8%BA%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E7%9A%84%E5%B9%B6%E8%A1%8C%E9%85%8D%E7%BD%AE%E4%B8%8D

在windows 8 64位系统上安装 WAMP软件,运行网站时,发现CURL没有加载成功,查看Apache错误日志,提示:php_curl.dll 应用程序无法启动,因为应用程序的并行配置不正确。
经查找是64位兼容性问题。于是想,找一个64位的PHP_CURL.dll替换一下就可以了。



使用的时候,请求https页面加在window下加参数:


curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);

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