douwei2825
douwei2825
2010-10-20 13:16

Windows 7:IIS 7.5 w / PHP和MySQL或Apache w / PHP和MySQL?

已采纳

I just got my self a new laptop, it runs on windows 7 and i am in deliberation what dev environment to set up.

I have most of my life used wamp set up, on windows machines for local dev environments. Here i recently installed IIS and it looks very convenient to set up sites and so on and so forth.

So I am thinking of installing php and mysql and runing local dev environment via IIS. The question is as I am fairly new to IIS. Are there any draw backs to running php/mysql via IIS in local dev environment. What are my limitations, will running php/mysql create any limitations if any that will hinder development and might effect deployment.

Back in a day i had some exposure to ISS with php running on server, it was long time ago, but php was not completely supported and some dev issues arose.

Thank you guys for any input. Greatly appreciated.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

3条回答

  • dongli1887 dongli1887 11年前

    I personally believe that apache on windows is still a better solution to develop PHP. Reasons:

    • much more documentation about the interaction between PHP and apache (for example url rewriting, proxying, etc...)
    • apache is the de-facto standard for PHP, so if you plan to deploy to apache later, you will face less potential problems due to platform differences (also regarding the rare subtle bugs which can plague ported software)
    • I find it easier to get meaningful error messages out of apache than from IIS

    I try to install the same PHP and Apache versions I will be deploying to, so the chances to have differences is minimal...

    点赞 评论 复制链接分享
  • douxiangshi6568 douxiangshi6568 11年前

    Usually it is a benefit if you can use identical environments for development and production. So the question is:

    On what stack do you deploy you applications?

    点赞 评论 复制链接分享
  • douqiang5809 douqiang5809 11年前

    I would go for Apache - mainly for the .htaccess functions - rewriting etc are slightly more tricky in IIS and you may not get as great portability when transfering to a LAMP setup.

    点赞 评论 复制链接分享