2016-09-18 49 views
0

我试图通过Deployer & SSH连接,但在内置的部署者脚本中有连接使用fsockopen()函数和unix套接字,我总是得到以下错误: Warning: fsockopen(): unable to connect to unix:///tmp/ssh-......5204:0 (Unable to find the socket tra nsport "unix" - did you forget to enable it when you configured PHP?)fsockopen():无法连接到unix

我搜索了大约数小时类似的问题,但无法找到同样的问题与PHP fsockopen() & Unix套接字的任何信息。 此外,我找我的php.ini配置并有启用OpenSSL和提供扩展目录,所以我不明白是什么意思:

...did you forget to enable it when you configured PHP?

从错误注释。

如果谁知道在什么方向看,请告诉我。

P.S我正在使用Windows操作系统,所以对于Apache/PHP我使用服务器平台OpenServer。 (这就像WAMP等)。

谢谢!

回答

0

尝试启用插槽扩展在php.ini

extension=php_sockets.dll

相关问题