I’m writing a shell script to be executed by php page. The page has to be on one server while the script runs on another. Both machines are on a shared file system. How do I specify the host name with the php execute command?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would need to use UNIX sockets, ssh, or some other way to connect to the other machine in order to execute it on that machine. PECL provides an ssh2 facility to do this.