![](/img/trans.png)
[英]PHP - How to control a Solaris server from php to run root commands to execute scripts?
[英]How to connect to a Solaris Server to run shell commands from a PHP script?
我有这个PHP站点,该站点需要连接到Solaris Server来运行shell命令(执行shell脚本)。 我正在使用Apache。 如何连接到服务器以运行Shell命令? 我是否需要配置Apache,以及如何配置? 是PHP和Apache的新手。
使用exec在php中执行命令。 使用ssh连接远程服务器并运行shell命令。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.