php-fpm

WBOY
WBOYOriginal
2016-06-20 12:53:36851browse

因为nginx只能通过FastCGI实现同PHP的接口。nginx不能像Apache那样把所有的PHP环境加载到自身。nginx通过FastCGI运行PHP比Apache包含PHP环境有明显的优势:

◆较低的内存占用率(因为nginx单独运行时不用加载整个PHP环境)。

◆轻松地管理用户权限( 因为PHP可以在你的服务器进程中管理不同的用户)。

◆当PHP崩溃时,nginx可以照常运行。


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn