Going away from Apache to IIS

Posted on 2004-10-09
Last Modified: 2010-04-20
I currently have many php scripts running on win2k3, apache 1.3, php4,mysql
apache 1.3 is giving me some problems and it's speed is not the best... i'm thinking about going to IIS 6/php4/mysql... i made sure all my scripts supports IIS/php4... are there any warnings before i venture on this risky migration? if it's risky at all? i'd like to migrate by the end of the weekend.. any tips/heads up will be greatly appreciated.. thanks!
Question by:andreni78
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 3
  • +3
LVL 33

Expert Comment

ID: 12266491
I don't know if it's risky.  I have PHP4/MySQL running on a couple of different IIS servers - one Win2k3 Server, one Win2000 Server - and I've never had a problem.  In my experience, they work extremely well together.  The PHP Windows installler sets up PHP for you and the MySQL manual has good info about installing MySQL on Windows (

Keep in mind that my experience is based on only two servers.  Perhaps someone else has encountered some problems that I haven't.

Accepted Solution

ronan_40060 earned 168 total points
ID: 12267614
I think the following links wud be a good starting point
Infact theres a good article on apache performance tuning from IBM developrworks , you need to register yourself there the link is
another url worth looking at is
LVL 17

Expert Comment

ID: 12282306
why dont you upgrade Apache?

I don't think you will find any performance gains when moving to IIS (and I am pro IIS - use it all the time)

You'd probably want to look at other things, like programming, upgrading etc..
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.


Author Comment

ID: 12284873
some of the articles ronan provided stated apache isn't made for winnt.. the programming structure isn't the same
LVL 17

Expert Comment

ID: 12284910
maybe the old apache, but the new is just as good as anything else. Upgrade its free!

Author Comment

ID: 12290531
I actually want to upgrade.. but the problem i'm facing is making virtual domains work.. for the life of me.. i can't get it to work.. whenever i add the virtual domain command:
    DocumentRoot d:/web/mysite
    CustomLog d:/web/apache/logs/mysite.log combined

it doesn't work for some odd reason.. apache 2 wouldn't even start...
LVL 15

Expert Comment

ID: 12291038
What errors are shown in the error_log or on screen?

Have you tried:

apachectl configtest

to see what problems it mentioned your configuration as having?

 Do you have a command like:


in your configuration files?

Author Comment

ID: 12331688
ok i got the virtualhost deal to work.. now i've got another situation:

System: Win2k3/Apache2.0/PHP4.3.9

Situation: I've got a smooth running site with apache 1.3 - I want to upgrade to apache 2.0 because its architecture is built for NT.. so when I upgraded my site to apache 2.0... some of the links/files i access results in "cannot find server."

for example.. when i enable apache 1.3 on my site.. i can access (activity mod for phpbb2) just fine.  however when i switch to apache 2.0.. the activity file will return a "cannot find server" error.. this problem seems to occur on random scripts i have on my site.  PHPBB will run fine.. but it's activity mod has problems... most of egroupware applications run fine.. but the email returns a "cannot find server" error..

so i tried renaming the activity.php to  activity1.php.. and create another activity.php file with simple php code - it parses fine... but when i switch activity1.php to activity.php again.. it gives me the same error... when the file was named activity1.php.. i accessed it and it gave me the same error - "cannot find server"..

so.. it HAS to be the content in these php files that causing these errors.. but why would it cause problems in apache2 but not apache 1.3?  i've run installation test for a few scripts under apache2.0 and it doesn't give me anything diff from installation test under apache 1.3 environment...

i've been having this problem for days and i cannot for the life of me, figure this one out..

please any suggestions would be greatly appreciated! as i've exhausted all avenues i know of to try and fix this problem...
LVL 17

Expert Comment

ID: 12331784
maybe post another question in the apache area??
LVL 15

Expert Comment

ID: 12333010
Have you installed support for PHP in Apache 2.0?  What are the errors in the error_log?

Author Comment

ID: 12336121
yeah php works fine.. as said before.. when i put simple php coding in activity.php file, it works fine.. error log doesn't log any errors at all.. it's just something contained in the original activity.php file is causing problems.. i don't know what...

so ...
phpbb works fine
oscommerce works fine
"activity" mod for php bb doesn't work
SOME parts of egroupware work.. some doesn't...

so when i switch back to apache 1.3... EVERYTHING works fine... this is really giving me some major probs..

one note.. it's recommended on egroupware site that i use apache 1.3
LVL 15

Assisted Solution

periwinkle earned 166 total points
ID: 12338783
Hmmm - sounds like there are some incompatibilities, then with your egroupware suite that they are aware of.

The upgrading Apache to 2.0 from 1.3 page can be found here:

There are definitely some issues with backward compatibility, particularly in terms of modules;  you may wish to review this page to see if there is something readily identifiable as the problem.
LVL 23

Assisted Solution

rama_krishna580 earned 166 total points
ID: 12484408
LVL 15

Expert Comment

ID: 12798081
This is a difficult one to call on who should receive the points.

The original question was about migration from Apache to IIS; however, the user was also interested in potentially upgrading Apache, too.

I feel that ronan_40060 and periwinkle gave the best advise on whether or not upgrading the version of Apache would work with the upgrade.

rama_krishna580 gave a link to another ee question that had some good advise on the original question....

The real question is how did the asker solve their problem, I suppose!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
What You Need to Know when Searching for a Webhost Provider
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question