Home>Article>Backend Development> What is php-fpm?

What is php-fpm?

藏色散人
藏色散人 Original
2019-04-19 13:53:05 7070browse

What is php-fpm?

php-fpm (FastCGI Process Manager: FastCGI Process Manager) is another PHP FastCGI implementation. It is a patch package for php before PHP 5.3.3. Integrating FastCGI process management into PHP packages. Some of these additional features are useful for sites of any size, especially busier sites.

These features include:

• Adaptive process spawning (new!)

• Basic statistics (ala Apache's mod_status) (new!)

• Advanced process management, elegant stop/start

• Ability to start workers using different uid/gid/chroot/environment and different php.ini (replace safe_mode)

• Stdout and stderr logging

• Emergency restart in case of unexpected opcode cache corruption

• Accelerated upload support

• Support for "slow logging"

• Enhancements to FastCGI, such as fastcgi_finish_request() - a special function to complete the request and flush all data while continuing to perform time-consuming operations (video conversion, statistics processing, etc.)

…etc. .

It was not designed with virtual hosts (large pools) in mind, but it can be adapted to any usage model.

Related recommendations: "PHP Tutorial"

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

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