| | |
IIS and Apache
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2006
Posts: 162
Reputation:
Solved Threads: 14
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.
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.
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!
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!
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
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
hosting :: development :: design
dezignwork.com
dezignwork.com
There's no difference between them, it's just one is open source and the other one is from Microsoft.
The ProgrammersTalk Community | Programming & Marketing | Buying & Selling Script
Hang out place of novice and intermediate programmers
Hang out place of novice and intermediate programmers
![]() |
Similar Threads
- Installing PHP on Win XP Pro (PHP)
- IIS Personal Web Server setting ??? (Windows NT / 2000 / XP)
- What's better? Windows 2000 Server or Linux Server? (Windows Servers and IIS)
- working PHP with Apache is it posssible (PHP)
- Securely Allow users to add to Database (PHP)
- Key Features of Apache 2.0 (Linux Servers and Apache)
- Apache Intermittently Refuses Port 80 (Linux Servers and Apache)
- Need Help Installing Iis On Window Xp (Windows Servers and IIS)
- PHP Sessions on IIS (PHP)
Other Threads in the PHP Forum
- Previous Thread: phpunit installation says about reflection extension
- Next Thread: output error
| Thread Tools | Search this Thread |
apache api array beginner binary body broken cakephp checkbox class cms code computing cron curl database date date/time delete display dynamic echo email error file files filter folder form forms function functions gc_maxlifetime global google host href htaccess html image include insert ip javascript joomla limit link list login mail memmory memory menu mlm msqli_multi_query multiple mycodeisbad mysql navigation oop parameter parsing paypal pdf php problem query radio random recourse recursion regex remote script search seo server sessions sms snippet source space sql static syntax system table thesishelp tutorial update upload url validator variable video web webdesign wordpress xml youtube






