Home>Article>Backend Development> what is php-fpm

what is php-fpm

青灯夜游
青灯夜游 Original
2019-06-04 11:50:16 4826browse

what is php-fpm

PHP-FPM (FastCGI Process Manager: FastCGI Process Manager) is a PHPFastCGI manager. For php before PHP 5.3.3, it is a patch package designed to FastCGI process management is integrated into the PHP package. If you are using PHP before PHP5.3.3, you must patch it into your PHP source code, and you can use it after compiling and installing PHP.

Compared with Spawn-FCGI, PHP-FPM has better CPU and memory control, and the former is easy to crash and must be monitored with crontab, while PHP-FPM does not have such troubles.

Starting from PHP 5.4 RC2, php-fpm has been regularized and is no longer marked as EXPERIMENTAL (experimental stuff) by the php team.

PHP5.3.3 has integrated php-fpm and is no longer a third-party package. PHP-FPM provides a better PHP process management method, which can effectively control memory and processes, and can smoothly reload PHP configuration. It has more advantages than spawn-fcgi, so it is officially included in PHP. PHP-FPM can be turned on by passing the –enable-fpm parameter in ./configure.

The above is the detailed content of what is php-fpm. For more information, please follow other related articles on the PHP Chinese website!

php
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