Posts: 1,464
Threads: 90
Joined: Aug 2009
Reputation:
0
I'm pretty sure you would need SSH2 not just PHP functions, correct?
Posts: 1,464
Threads: 90
Joined: Aug 2009
Reputation:
0
You're sure your connected right...? And it's installed correctly? Maybe also try testing it by maybe doing a simpler command like maybe just ssh2_exec($connection, 'mkdir test');
Posts: 1,464
Threads: 90
Joined: Aug 2009
Reputation:
0
I have pretty much no experience but would it make a difference if say instead of single quotes you used double quotes to execute commands?
Posts: 145
Threads: 38
Joined: Jul 2011
Reputation:
0
That shouldn't make a difference.
Posts: 314
Threads: 0
Joined: Sep 2011
Reputation:
0
exec() won't stop loading in your php script as long as server is online.
Tried using nohup instead? About ssh2, make sure you installed it correctly, maybe some modules are missing.
Posts: 145
Threads: 38
Joined: Jul 2011
Reputation:
0
SSH2 is installed correctly. And the ssh user has full permissions.