Questions about php-fpm idiots

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.