我正在尝试在Ubuntu 11.04上安装Rails环境.当我启动命令时rvm install 1.9.2 --with-openssl-dir=/usr/local,收到以下错误:
curl : (1) Protocol https not supported or disabled in libcurl
Run Code Online (Sandbox Code Playgroud)
怎么解决这个问题?
当我试图$ brew update收到错误时:
error: Protocol https not supported or disabled in libcurl while accessing https://github.com/mxcl/homebrew/info/refs?service=git-upload-pack
Run Code Online (Sandbox Code Playgroud)
但是,当我$ curl --version,我看到:
curl 7.21.4 (x86_64-apple-darwin12.2.0) libcurl/7.21.4 OpenSSL/0.9.8y zlib/1.2.5 libidn/1.20
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM SSL libz
Run Code Online (Sandbox Code Playgroud)
除非我遗漏了什么,否则这对我来说很好.请注意https协议列表中列出的内容.
$ which curl 产生可疑的回应:
/usr/local/php5/bin/curl
Run Code Online (Sandbox Code Playgroud)
嗯...也许brew是在使用不同的curl(就像那个/usr/bin/curl).让我们来看看:
$ /usr/bin/curl --version
curl 7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8y zlib/1.2.5
Protocols: …Run Code Online (Sandbox Code Playgroud) 我在我的应用程序中使用Authorize.net(在OSCOMMERCE中),当用户付款时返回空响应.我调试并发现它返回此错误:
libcurl中不支持或禁用协议https
我送探测器网址以https存在没有空间开始 https://secure.authorize.net/gateway/transact.dll
我在共享托管服务器中的应用 我怀疑这是服务器端问题还是编程问题?