Jump to content

Start the server from php


Recommended Posts

Hello guys.

I have never seen it here, or somewhere else, so I would like to ask that, how can I start a metin2 server which is on a VPS from my website which is in an another VPS.

Exactly I need a php script which make possible to execute any command to the FreeBSD.

Sorry for the bad english, if something is not understandable, then I try to explain it as good as I can.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

It's possible, but it may be a security risk, if you are not careful. 

One of the solution is create a network service with xinetd and connect with it a shell script that do a stop without prompt.

With another port create a new service with the start script.

To execute from php find an appropriate solution to interrogate your game server with xinetd ports like a telnet.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.