简体   繁体   English

Windows php上的Unix命令远程

[英]Unix Commands Remote on windows php

I have a Windows PHP Server and i would like to use PHP to connect to a unix Server and run some unix commands on this remote server. 我有Windows PHP Server,我想使用PHP连接到Unix服务器并在此远程服务器上运行一些Unix命令。 Is this feasible? 这可行吗? Please help 请帮忙

Yes this is possible. 是的,这是可能的。

You can use PHP ssh2 commands to do what you're trying to do. 您可以使用PHP ssh2命令执行您要尝试执行的操作。

See here: http://php.net/manual/en/book.ssh2.php 参见此处: http : //php.net/manual/zh/book.ssh2.php

Not enough information for me to direct you further. 没有足够的信息可以指导我进一步发展。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM