What is php-fpm?

藏色散人
Release: 2023-04-06 06:24:01
Original
7122 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!