douyan6958 2010-02-28 21:20
浏览 62
已采纳

选择Web服务器软件从[关闭]运行PHP

I've been refactoring some code running on a simple LAMP box on my network. I noticed that there really isn't any particular reason why we're using Apache aside from being able to say it's a LAMP setup.

I've heard of some other options (lighttpd, nginx, etc.) and was wondering what benefit using these would provide over using Apache. I'm running PHP 5.2 through FastCGI on Apache 2 as of right now. Would another platform provide better performance? Would setup or maintenance be more or less of an issue? Would reliability be affected?

I'm asking this as a purely hypothetical question; I don't really intend to change the platform of the server(s), I'm just curious about why one might choose one of the other apps over Apache.

Thanks in advance

  • 写回答

4条回答 默认 最新

  • douba4933 2010-02-28 21:32
    关注

    There are tons of reasons why one person would choose one given platform over another. As an apache user myself, I like that it is incredibly easy to deploy and manage under linux. It has a large user-base, and great documentation (first-party and third-party).

    Lighttpd is made for speed. It looks like it supports PHP now, but it was originally designed and (probably still) best used for serving static content, at ridiculous speeds.

    If you're a Microsoft kinda guy, IIS would look really appealing.

    I've never used nginx.

    Hope that helps.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序