Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我运行 HHVM-fastcgi + nginx + Laravel,当我回显 stream_get_transports() 时,“tls”和“ssl”不存在。
因此,当我尝试在 tls 端口上通过 SMTP 发送邮件时,Laravel php 失败并出现错误“stream_socket_enable_crypto”
如何解决这个问题?
谢谢
stream_socket_enable_crypto尚未在 hhvm 中实现。
stream_socket_enable_crypto
见https://github.com/facebook/hhvm/issues/1647
只是这个问题的更新,它已经从 HHVM 版本 3.8 开始解决。你只需要更新你的 HHVM 版本。
如果您使用 Ubuntu,请运行此命令...
sudo apt-get upgrade -y hhvm