J
jeffparis
Guest
I just can not get this to run in the browser. The file is chowned and chmodded to allow root to run and I can run it successfully in SSH.
<?php
shell_exec('ssh [email protected] -i /root/.ssh/id_rsa /usr/local/psa/bin/mail.sh --create [email protected] -mailbox true -cp_access true -mailbox true -passwd XXXXXXXXXXXX \n');
?>
When I call from a browser, it just hangs.
I had better luck integrating with cPanel, but then again, cPanel crashed daily
<?php
shell_exec('ssh [email protected] -i /root/.ssh/id_rsa /usr/local/psa/bin/mail.sh --create [email protected] -mailbox true -cp_access true -mailbox true -passwd XXXXXXXXXXXX \n');
?>
When I call from a browser, it just hangs.
I had better luck integrating with cPanel, but then again, cPanel crashed daily