Apache v/s IIS

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
pritam79
Forum Commoner
Posts: 65
Joined: Wed Mar 26, 2008 9:28 am

Apache v/s IIS

Post by pritam79 »

Which is the best server among IIS and Apache to run PHP scripts? What are the potential advantages/disadvantages of running PHP in IIS and Apache? Which one is ideal for beginners?
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Apache v/s IIS

Post by VladSun »

There are 10 types of people in this world, those who understand binary and those who don't
SeaJones
Forum Commoner
Posts: 48
Joined: Tue Jun 30, 2009 5:40 pm

Re: Apache v/s IIS

Post by SeaJones »

Opinion is split, but I tend towards Apache (or sometimes Light) purely because it'll do everything I need, and is Open Source, meaning I can run an entire site without touching any closed source software.

When it comes down to it, some stuff is harder (and some is easier) when using IIS, and your best looking at what features you will need before choosing one. Look at the many blogs that have the debate on, but bear in mind what you want to do as well.
User avatar
akuji36
Forum Contributor
Posts: 190
Joined: Tue Oct 14, 2008 9:53 am
Location: Hartford, Connecticut

Re: Apache v/s IIS

Post by akuji36 »

I think Apache is easier for beginners to setup and there's lots of

online support for it. See xampp:

http://www.apachefriends.org/en/xampp.html

However I've been told that ms iis is more secure ..but I still

prefer Apache.
pritam79
Forum Commoner
Posts: 65
Joined: Wed Mar 26, 2008 9:28 am

Re: Apache v/s IIS

Post by pritam79 »

akuji36 wrote:I think Apache is easier for beginners to setup and there's lots of

online support for it.

Which one would be the ideal one to start developing in PHP for beginners- IIS or Apache?
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Apache v/s IIS

Post by califdon »

pritam79 wrote:
akuji36 wrote:I think Apache is easier for beginners to setup and there's lots of online support for it.
Which one would be the ideal one to start developing in PHP for beginners- IIS or Apache?
If you are programming in PHP, what difference does it make what web server you use to interpret the PHP?
pritam79
Forum Commoner
Posts: 65
Joined: Wed Mar 26, 2008 9:28 am

Re: Apache v/s IIS

Post by pritam79 »

califdon wrote:If you are programming in PHP, what difference does it make what web server you use to interpret the PHP?
I just wanted to know "What about using apache+windows to develop in php and not linux+apache at all"
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Apache v/s IIS

Post by califdon »

That's what I mean. What difference would it make? There is no difference in the code that you write.
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: Apache v/s IIS

Post by matthijs »

Apache has .htaccess, IIS not. so that's a big difference and advantage of apache. Certainly considering many open source applications and frameworks like Zend's use that feature (maybe not always strictly needed, but still)
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Apache v/s IIS

Post by califdon »

matthijs wrote:Apache has .htaccess, IIS not. so that's a big difference and advantage of apache. Certainly considering many open source applications and frameworks like Zend's use that feature (maybe not always strictly needed, but still)
Oh yeah, that's true. But for a beginner like the OP, I think it makes not one bit of difference.
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: Apache v/s IIS

Post by matthijs »

califdon wrote:
matthijs wrote:Apache has .htaccess, IIS not. so that's a big difference and advantage of apache. Certainly considering many open source applications and frameworks like Zend's use that feature (maybe not always strictly needed, but still)
Oh yeah, that's true. But for a beginner like the OP, I think it makes not one bit of difference.
Maybe not. But so many apps use it and in general there's a lot of stuff you can do with htaccess which might come in handy ("how do I protect a directory", "how do I redirect people", etc etc). So it will probably come in handy as soon as a beginner comes in the next stage and learns to use all these little things
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Apache v/s IIS

Post by Eran »

Apahce has a proven track record with PHP, not so much for IIS. The online documentation and support is certainly several notches higher for Apache with PHP. Unless there are outstanding circumstances, I'd recommend going with Apache as the webserver.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Apache v/s IIS

Post by jackpf »

akuji36 wrote:However I've been told that ms iis is more secure ..
Whoever told you that must have been on crack.
Post Reply