Can't start SA-MP Server by PHP
#8

Well, tried with ssh2 like this:

$connection = ssh2_connect("localhost", 22);
ssh2_auth_password($connection, "root", "123456");
ssh2_exec($connection, "cd /home/samp03 && ./samp03svr");

It doesn't start... If i put exactly that command "cd /home/samp03 && ./samp03svr" on Putty it works fine.
Help please, im using CentOS 5.7.
Reply


Messages In This Thread
Can't start SA-MP Server by PHP - by bruunosoniico - 06.12.2011, 13:22
Re: Can't start SA-MP Server by PHP - by JiHost - 06.12.2011, 16:08
Re: Can't start SA-MP Server by PHP - by array13 - 06.12.2011, 16:20
Respuesta: Can't start SA-MP Server by PHP - by bruunosoniico - 06.12.2011, 17:27
Re: Can't start SA-MP Server by PHP - by array13 - 06.12.2011, 17:35
Respuesta: Can't start SA-MP Server by PHP - by bruunosoniico - 06.12.2011, 18:00
Re: Can't start SA-MP Server by PHP - by array13 - 06.12.2011, 18:01
Respuesta: Can't start SA-MP Server by PHP - by bruunosoniico - 07.12.2011, 22:36
Respuesta: Can't start SA-MP Server by PHP - by bruunosoniico - 08.12.2011, 01:23

Forum Jump:


Users browsing this thread: 4 Guest(s)