This is a discussion on [Q] Compatibility issues using Apache and/or IIS within the PHP General forums, part of the PHP Programming Forums category; First I'm very new to all this, so forgive the naivity of these questions: Anyway, I am building a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
First I'm very new to all this, so forgive the naivity of these questions:
Anyway, I am building a WEB Site dev environment that supports PHP-MySQL development. I have both IIS and Apache WEB servers available for local testing which begs the following question: What are the factors that would influence my choosing IIS over Apache or vice-versa? If I develop and test against a local Apache server, will I run into problems when uploading to a site that uses IIS? What about using a local IIS server and uploading to an Apache site? Thanks in advance. Michael |
|
|||
|
Michael T. Peterson wrote:
> First I'm very new to all this, so forgive the naivity of these questions: > Anyway, I am building a WEB Site dev environment that supports PHP-MySQL > development. I have both IIS and Apache WEB servers available for local > testing which begs the following question: > > What are the factors that would influence my choosing IIS over Apache or > vice-versa? If I develop and test against a local Apache server, will I run > into problems when uploading to a site that uses IIS? What about using a > local IIS server and uploading to an Apache site? > > Thanks in advance. > > Michael Factors include: ease of administration security stability speed support Here's my bias: Apache on Linux or BSD. The reason is because there is more support for Apache with PHP than there is for IIS with PHP. IIS has many known exploits and new ones are found all the time. Apache has it's share of problems, too, but they do not compare to the nightmare of administering a Windows box (I've done both extensively). While there are faster web servers than apache, there are none more robust and scalable than apache. My personal (unbiased at the time) benchmarking of PHP on Apache vs IIS showed a great difference in the sheer number of connections Apache can handle vs IIS. That could be due to the diffs in Windows/Linux, but the fact remains, it's faster and more scalable on Linux than Windows. Whatever you do, if you are comfortable with your decision, you made the right decision. Both are good platforms, and you will find that everyone has a bias on this subject. If you run both you will find little problems like directory delimiters (\ or /), config differences, speed differences and other minor things. Granted, with the right code, you could alleviate almost all the differences. Why would you want to run a mixed environment like that? What is the benefit of running different servers? It just creates more problems for the developers with no actual benefit to anyone to run a mixed server environment like that. Hope this all helps. -Calico Jack- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|