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

PHP curl扩展 https支持

WBOY
Release: 2016-06-06 20:13:23
Original
2001 people have browsed it

安装完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>
Copy after login
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template