SSH2在PHP,WAMP,Windows中 [英] SSH2 in php, wamp,windows

查看:97
本文介绍了SSH2在PHP,WAMP,Windows中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须连接sftp链接,并且必须将数据放入sftp链接.

I have to connect sftp link and have to put data in sftp link.

我想通过功能ssh2_connect连接sftp链接.

I want to connect sftp link through function ssh2_connect.

我的麻烦是,每当我运行该功能时,都会出现错误Call to undefined function ssh2_connect().

My trouble is that whenever i am running that function i am getting error Call to undefined function ssh2_connect().

然后我下载了libssh2.tar.gzssh2.tgz,但是我不知道在哪里安装/放置这些文件.

Then I downloaded libssh2.tar.gz and ssh2.tgz but i dont know where to install / put these files.

我正在使用-Windows 7,Wamp服务器,mysql,php 邮局-如果必须运行命令,请告诉我在哪里运行该命令. 提前致谢 如果还有另一种连接sftp链接的方法,请也共享.

I am using - Windows 7, Wamp server, mysql, php P.O. - If i have to run come commands then please tell also where i have to run that commands. Thanks in advance IF there is another way to connect sftp link please share that also.

推荐答案

您可以尝试在"wamp \ bin \ php *.. \ ext \"路径中复制dll文件并添加在"wamp \ bin \ php *.. \"路径中的php.ini文件的"extension = [name_of_your_file.dll]"行中

You can try to copy the dll files in the "wamp\bin\php*..\ext\" path and add line "extension=[name_of_your_file.dll]" to the php.ini file in the "wamp\bin\php*..\" path

这篇关于SSH2在PHP,WAMP,Windows中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆