Jump to content
  • 0

Start the server from php



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

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 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.