Home > Article > Backend Development > What to do if php is installed without phpfpm
Solutions for php installation without phpfpm: 1. Recompile php; 2. Add the "--enable-fpm" parameter when configure.
The operating environment of this article: linux5.9.8 system, PHP7.1, Dell G3.
What should I do if there is no phpfpm in the php installation?
After compiling and installing php, there is no php-fpm in the bin directory
If you use php-fpm You need to recompile PHP and add the –enable-fpm parameter when configure
Related introduction:
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 integrate FastCGI process management 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.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of What to do if php is installed without phpfpm. For more information, please follow other related articles on the PHP Chinese website!