Shing
V2EX  ›  问与答

Apache 2.4 跟 Nginx mainline 比起来真的有那么不堪吗?

  •  
  •   Shing · Apr 9, 2019 · 2211 views
    This topic created in 2613 days ago, the information mentioned may be changed or developed.
    就只是跑个 php+mysql,问了周遭许多人,一股脑推荐 nginx+php-fpm,然后搜索了一遍网上的文章,大部分都停留在 apache2.2 时期的,还有很多 2.4 的也是套 2.2 的缺点写个文章出来,有没有人认真做过压测?

    大部分场景下跑 php,用 apache 的.htaccess 会更好控制才对吧?如果说 apache 对静态资源的处理不如 nginx,但网站流量大了之后,你还会全部静态资源放在本地而不是放在 s3 或 cdn 上?
    2 replies    2019-04-10 18:28:23 +08:00
    alect
        1
    alect  
       Apr 9, 2019
    apache+php-fpm 路过,没觉得有问题。
    julyclyde
        2
    julyclyde  
       Apr 10, 2019
    很多时候是机遇问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5233 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 01:16 · PVG 09:16 · LAX 18:16 · JFK 21:16
    ♥ Do have faith in what you're doing.