What role does server software play?

chrstrbrts

Senior member
Aug 12, 2014
522
3
81
Hi,

By server software I mean software like Apache, IIS, etc.

What role does it play?

Why can't the server scripting and database engines just run right on the OS?

Why does the server software have to be in between?

Thanks.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,838
4,817
75
This is starting to smell like homework again, despite your assurances that it's not. So I'm just going to point you to Wikipedia for now.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,838
4,817
75
LOL..... Why does everyone think that I'm in school?

I'm almost 50 for Christ's sake..... :D

That doesn't mean anything. I saw a number of guys older than that when I was at college.

Besides, the point of not spelling out answers to homework is that you might learn better if we don't spoon-feed you the information.

Come to think of it, why don't we turn this into homework? :sneaky: Can you answer the three questions you asked based on the Wikipedia link I gave you?

Actually, here's some better links:

https://en.wikipedia.org/wiki/Web_server
https://en.wikipedia.org/wiki/Server-side_scripting
 
Feb 25, 2011
17,001
1,628
126
The server and database engines do run on the os - of the server. (They access hardware resources and the file system through the os.)

The server software is there so that there is a way for clients to access those resources through a standardized interface.
 

Scarpozzi

Lifer
Jun 13, 2000
26,392
1,780
126
These questions not only pain me, but they way you're asking bothers me too.

This stuff isn't rocket science, but you need to think of it like this.....a SERVER provides a SERVICE to a CLIENT. The software you're talking about provides the SERVICE to the CLIENT using a particular PROTOCOL on a TCP or UDP PORT.

Feel free to google the words in caps. The more you start thinking of software as a service, then you'll be more prepared for when software as a service models replace everything anyone runs locally....because most big vendors are offering to host their products to have more control over licensing....to milk more money out of their customers on a yearly basis rather than on 3-5 year cycles.
 

h4rm0ny

Member
Apr 23, 2015
32
0
0
Hi,

By server software I mean software like Apache, IIS, etc.

What role does it play?

Why can't the server scripting and database engines just run right on the OS?

Why does the server software have to be in between?

Thanks.

Having answered several of your previous questions here on disparate areas of tech, I'm starting to side with others in that this feels like your homework questions.

You could at least tell me what mark I got on the database module!

I'll be charitable and answer this one briefly. The server software (Apache, etc.) DOES run on the server's OS. The things like PHP scripts need to be handled by this layer in between because of security and because otherwise you're trying to build some sort of monstrous OS that does EVERYTHING as part if its core functionality. Trust me, you don't want your OS having a PHP parser as native functionality.