我正在使用 PHP fsockopen() 来完成我的服务器和 PayPal 之间的付款。但是,当我尝试使用 SSL 连接时,我收到此错误:
Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://:443
(Unable to find the socket transport "ssl" - did you forget to enable
it when you configured PHP?)
我确信我对 fsockopen() 方法的调用是正确的,因为在我在开发服务器上升级 PHP 之前它工作正常。
加密此连接很重要,因此我无法解决此问题。
我在我的 php.ini 文件中找不到任何关于 fsockopen() SSL 连接的配置。任何人都可以指导我吗?
谢谢你的帮助,
spryno724