Hello all, I would like to ask for help to someone with some knowledge around php/centos.
What should I do to make possible to start and kill the emulator? the ~end session~ button (or kill) would call the ssh command "killall map-server_sql", and the ~start~ button 2 commands "cd /home/emulador/" and "./map-server_sql". I already tried to do it, some commands work fine, but these 2 doesn't. The php returns no error and the commands simply doesn't work.
Ps: This would be placed in an already existent admin panel.
Question
Angelisk
Hello all, I would like to ask for help to someone with some knowledge around php/centos.
What should I do to make possible to start and kill the emulator? the ~end session~ button (or kill) would call the ssh command "killall map-server_sql", and the ~start~ button 2 commands "cd /home/emulador/" and "./map-server_sql". I already tried to do it, some commands work fine, but these 2 doesn't. The php returns no error and the commands simply doesn't work.
Ps: This would be placed in an already existent admin panel.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.