944,030 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 6624
  • PHP RSS
You are currently viewing page 1 of this multi-page discussion thread
Jul 14th, 2007
0

IIS and Apache

Expand Post »
what is the difference between Apache and IIS,n which is
required to install for using php.kindly let me know?

Regards,
Similar Threads
Reputation Points: 21
Solved Threads: 0
Junior Poster
marjan_m is offline Offline
149 posts
since Apr 2005
Jul 14th, 2007
0

Re: IIS and Apache

I don't know that much about the subject but i think Apache is an open source web server for Unix based operating systems and is normally used in conjunction with PHP.

IIS is Microsoft's web server and usually runs on Windows machines and is used with ASP and other microsoft technologies.

These setups are not exclusive because i am running Apache and PHP on my Windows XP system.
Reputation Points: 27
Solved Threads: 14
Junior Poster
Cerberus is offline Offline
162 posts
since Sep 2006
Jul 14th, 2007
0

Re: IIS and Apache

Hi.

You can use both of the servers to run PHP code.

http://news.netcraft.com/

- Mitko Kostov
Reputation Points: 59
Solved Threads: 12
Junior Poster
MitkOK is offline Offline
142 posts
since Jul 2007
Jul 14th, 2007
0

Re: IIS and Apache

I have both running on my PC. The only thing you need to be aware of is you have to change the port of one of them otherwise they will both try to use port 80, and when you start a local page your web servers will conflict. Normally you change one of them to use port 8080 and call it like this: http://localhost/somepage.php:8080

If you want to easily install Apache on a PC google for a program called WAMP. Not only does this install Apache correctly and PHP and MySQL it also gives you a brilliant front end for making changes and is well worth it since it's free!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
zaphod2003 is offline Offline
4 posts
since Jun 2005
Jul 15th, 2007
0

Re: IIS and Apache

I agree, WAMP is probably the best bet since it's a lot easier then installing PHP, MySQL and Apache separately. I would recommend Apache over IIS since it's closer to its native environment. There are certain features that are not available in IIS.

Also the taskbar WAMP menu helps you open the config files quickly for editing. If you want to add a virtual host in Apache file and have that added in your host file too, you can have an identical structure to that on the live server. It would look something like this:
http://sitename/ index.php

as opposed to http://localhost/sitename/index.php where a href="/" would send you to sites root (not neat)

Moreover, it was never easy for me to deal with Mod Rewrite under IIS, but with Apache it works perfectly.

Definitely WAMP!

I hope that helps.
Tim
Last edited by dezignwork; Jul 15th, 2007 at 12:42 am. Reason: spelling
Reputation Points: 11
Solved Threads: 2
Newbie Poster
dezignwork is offline Offline
21 posts
since Jul 2007
Jul 17th, 2007
0

Re: IIS and Apache

There's no difference between them, it's just one is open source and the other one is from Microsoft.
Reputation Points: 21
Solved Threads: 7
Junior Poster in Training
ProgrammersTalk is offline Offline
83 posts
since Jun 2007
Jul 18th, 2007
0

Re: IIS and Apache

Here's the difference, Apache actually works! I used to use IIS, but it can be a headache when installing modules, it's easier with Apache. If you're using a Windows system, check xampp.
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Phaelax is offline Offline
856 posts
since Mar 2004
Jul 19th, 2007
0

Re: IIS and Apache

Click to Expand / Collapse  Quote originally posted by Phaelax ...
Here's the difference, Apache actually works! I used to use IIS, but it can be a headache when installing modules, it's easier with Apache. If you're using a Windows system, check xampp.
Agree, Modules on IIS are a pain
Reputation Points: 11
Solved Threads: 2
Newbie Poster
dezignwork is offline Offline
21 posts
since Jul 2007
Jul 19th, 2007
0

Re: IIS and Apache

Use XAMPP instead of WAMP. In my opinion its better
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,525 posts
since Apr 2005
Jul 19th, 2007
0

Re: IIS and Apache

Click to Expand / Collapse  Quote originally posted by jbennet ...
Use XAMPP instead of WAMP. In my opinion its better
What do you find better about XAMPP? Just curious, as I've only used Wampserver.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 839
Posting Genius
Ezzaral is offline Offline
6,761 posts
since May 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: phpunit installation says about reflection extension
Next Thread in PHP Forum Timeline: output error





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC