Home >Backend Development >PHP Tutorial >PHP curl扩展 https支持

PHP curl扩展 https支持

WBOY
WBOYOriginal
2016-06-06 20:13:231997browse

安装完PHP后curl扩展不支持https,但是我安装的libcurl是支持https的?大家遇到过吗,怎么处理?
PHP curl扩展 https支持
看到是支持https的

然后php扩展ssl为NO

PHP curl扩展 https支持

回复内容:

安装完PHP后curl扩展不支持https,但是我安装的libcurl是支持https的?大家遇到过吗,怎么处理?
PHP curl扩展 https支持
看到是支持https的

然后php扩展ssl为NO

PHP curl扩展 https支持

<code>curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);</code>
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