There are many environments that are required to run php without considering databases? In the past, I only knew about Apache + php, and recently found that there is still Nginx + php. Is there still php-fpm + php? I cannot find any information about php-fpm + php on the Internet. Is this a wrong understanding? There are many environments that are required to run php without considering databases?
In the past, I only knew about Apache + php, and recently found that there is still Nginx + php. Are there otherphp-fpm+php, Cannot be found onlinephp-fpm+phpIs this a wrong understanding?
Reply content:
There are many environments that are required to run php without considering databases?
In the past, I only knew about Apache + php, and recently found that there is still Nginx + php. Are there otherphp-fpm+php, Cannot be found onlinephp-fpm+phpIs this a wrong understanding?
Common PHP running methods:
Nginx fastcgi_pass <=> PHP-FPMApache + mod_proxy_fcgi <=> PHP-FPMApache + mod_php <=> libphp5.so/php5apache2_4.dllApache + mod_fcgid <=> PHP-CGIIIS + PHP Manager <=> PHP-CGI
Nginx does not have the ability to parse php, and must rely on php-fpm
Apache module parsing php
You may not find the correct place. we recommend that you compile nginx + php-fpm with centos07 source code.
In general, there are two operating modes: cli and cgi.