curl https的问题

lovewangya 2009-11-01 08:57:22
请问如何配置curl才能支持获取https网站内容或者向https的网站提交数据
...全文
565 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
wangkilin 2009-11-02
  • 打赏
  • 举报
回复
看一下 php.ini 里面的extension 参数。
lovewangya 2009-11-02
  • 打赏
  • 举报
回复
呵呵,能详细说一下在path变量当中哪个地方吗?还没找到。
do_fork 2009-11-01
  • 打赏
  • 举报
回复
把openssl的那两个dll文件,放到system32目录,或者在PATH环境变量中能找到
lovewangya 2009-11-01
  • 打赏
  • 举报
回复
不知道window下面如何做,谢谢。
do_fork 2009-11-01
  • 打赏
  • 举报
回复
Note: Note to Win32 Users
In order to enable this module on a Windows environment, libeay32.dll and ssleay32.dll must be present in your PATH. You don't need libcurl.dll from the cURL site.

Linux下编译php的时候,把openssl支持一块编译进去
--with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)
--with-openssl-dir[=DIR] FTP: openssl install prefix
--with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix
--with-openssl-dir[=DIR] SNMP: openssl install prefix

我一般自己编译,如果你的Linux发行版带有php5-openssl包,安装好就行了

21,891

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧