简体   繁体   中英

How to connect to a Solaris Server to run shell commands from a PHP script?

I've got this PHP site which needs to connect to a Solaris Server to run shell commands (Execute shell script). Im using Apache. How do I connect to the server to run shell commands? Do i need to configure the Apache, & how? Am a newbie in PHP & Apache.

Use exec to execute a command in php. Use ssh to connect a remote server and run shell commands.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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