84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
php-cgi是fastcgi 的进程管理器php-fpm 也是fastcgi的进程管理器
那么php-fpm和php-cgi 有什么关系呢。
What is the relationship between php-cgi and php-fpm? - PHP Chinese website Q&A - What is the relationship between php-cgi and php-fpm? - PHP Chinese website Q&A
Take a look around and learn.
php-cgi是早期php官方出品的fastcgi管理器,不支持平滑重启,改了php.ini就要kill掉原来的php-cgi再重新启动才能生效;不支持动态worker调度,只能一开始指定要起几个worker。
php-fpm是从5.3.3才加入的fastcgi进程管理器,加入了动态调度功能,可以根据请求来访压力变化动态增减worker进程数量;支持reload指令,让worker进程在完成当前请求后重启,并应用php.ini新配置。
What is the relationship between php-cgi and php-fpm? - PHP Chinese website Q&A - What is the relationship between php-cgi and php-fpm? - PHP Chinese website Q&A
Take a look around and learn.
php-cgi是早期php官方出品的fastcgi管理器,不支持平滑重启,改了php.ini就要kill掉原来的php-cgi再重新启动才能生效;不支持动态worker调度,只能一开始指定要起几个worker。
php-fpm是从5.3.3才加入的fastcgi进程管理器,加入了动态调度功能,可以根据请求来访压力变化动态增减worker进程数量;支持reload指令,让worker进程在完成当前请求后重启,并应用php.ini新配置。