SRCDS Steam group


ProPanel
#16
Yeah, thats why we are sticking to PHP. Also I believe you can run multiple user accounts per box. For linux make their home directory their directory where they access the servers. and for windows the same thing just with different locations.
Reply
#17
i didnt say you couldnt, if you do however make a control daemon in php using your own protocols, it'll involve extra steps.

in linux it would involve sudo or su commands, not sure about windows though, ssh2 completely obliterates that though with a super user account only being required for actual account creation.
Reply
#18
Does php not have some commands for starting a process? That ain't platform specific?
Reply
#19
(01-13-2010, 05:59 PM)Nisd Wrote:  Does php not have some commands for starting a process? That ain't platform specific?

I suppose that exec() would work. I can atleast start a Windows end server and probably a Linux too.
Reply
#20
(01-13-2010, 11:55 PM)realchamp Wrote:  
(01-13-2010, 05:59 PM)Nisd Wrote:  Does php not have some commands for starting a process? That ain't platform specific?

I suppose that exec() would work. I can atleast start a Windows end server and probably a Linux too.

Yes, Exec should be able to execute both windows and linux... I use it for one of my linux scripts.
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#21
exec() runs everything under the same user that the php script is running as. thats unsecure and would open up alot of security holes in the server, not to mention the fact that you would need to install apache and php on all of your dedicated servers.

using a remote protocol like ssh2 would allow you to only require ssh access on those boxes to control them.
Reply
#22
Well problem is that Windows does not support SSH.

Second you could just go for the build in Web Server in Windows.

But have any one thought of that you don't need to execute php on a webserver.
It can be executed as a normal script.
Reply
#23
php is still required to be installed on a server to be able to execute it as a normal script.
Reply
#24
I know, but the idea is, that if you use PHP as a script, you would only need to have PHP Installed.
Also you would have no need for ssh or such, as you just could a REST or SOAP interface
Reply
#25
waste of time imho, windows should of never even ventured into the server market, it just makes everything more complicated.
php and linux is where its at for anything server related, if you want to make a control panel for windows you shouldn't be writing it in php
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)