Lightweight web app server for PHP?

前端 未结 10 1233
青春惊慌失措
青春惊慌失措 2021-02-04 14:00

I\'m doing PHP development. And coming from a Rails background, I\'m looking for a like-for-like replacement for Webrick in PHP. Is there such a light weight server? Something w

10条回答
  •  青春惊慌失措
    2021-02-04 14:53

    Back when Lighty was having many reports of memory leaks, someone mentioned Nginx. Ignore the ridiculous name, it's actually the best HTTPd I've ever used (and I've been using Apache since 1.1). Install PHP as FCGI rather than a module and you're golden.

提交回复
热议问题