Some idiotic questions about php-fpm I heard that the combination of nginx + php-fpm can build a high-performance web server. what is the principle? What is php-fpm? what is the relationship with fastcgi? what is the relationship with the php parser? What is the processing process of an http request under this combination? please explain it !! Some idiotic questions about php-fpm
I heard that the combination of nginx + php-fpm can build a high-performance web server. what is the principle?
What is php-fpm? what is the relationship with fastcgi? what is the relationship with the php parser?
What is the processing process of an http request under this combination? please explain it !!
Share: More
------ Solution --------------------
In this case, php-fpm encapsulates the php interpreter and performs network interaction and multi-process control of the php interpreter, the network interaction part will communicate with webserver such as nginx. the communication protocol is the fast-cgi protocol.
Nginx + php-fpm can be used to build a high-performance web server. it mainly means that the nginx asynchronous event network model can be well processed under high concurrency conditions.