Posts: 104
Threads: 6
Joined: Dec 2009
Reputation:
1
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.
Posts: 52
Threads: 0
Joined: Dec 2009
Reputation:
2
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.
Posts: 737
Threads: 26
Joined: Jan 2009
Reputation:
6
Does php not have some commands for starting a process? That ain't platform specific?
Posts: 52
Threads: 0
Joined: Dec 2009
Reputation:
2
01-14-2010, 11:01 AM
(This post was last modified: 01-14-2010, 01:08 PM by ilinx.)
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.
Posts: 737
Threads: 26
Joined: Jan 2009
Reputation:
6
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.
Posts: 52
Threads: 0
Joined: Dec 2009
Reputation:
2
php is still required to be installed on a server to be able to execute it as a normal script.
Posts: 737
Threads: 26
Joined: Jan 2009
Reputation:
6
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
Posts: 52
Threads: 0
Joined: Dec 2009
Reputation:
2
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