I won't be redundant by saying I'm new to PHP, so I won't :)

The following code works by doing;

php file.php

contents of file.php;

exec('/usr/bin/ssh u...@host "nohup perl /perlscript&"');

* I config'd this ssh user to not need a password, copied its key.

I place this file off of web root and point my browser to web root and type the file name;


but it doesn't exe.

I'm not expecting to see a screen full, but I check to see if the perl script runs on the remote host, and it doesn't.

All is well from a CLI.

Any suggestions are greatly appreciated,
- aurfalien

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to