In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the relevant knowledge of "what is the FastCGI mode of php". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Description
1. It is a protocol that allows interactive programs to communicate with Web servers. FastCGI is an enhanced version of the earlier Universal Gateway Interface (CGI).
2. Strive to reduce the cost of interaction between the web server and the CGI program, so that the server can process more web requests at the same time.
Principle
After the FastCGI process manager starts, first parse the php.ini file, initialize the execution environment, and then start multiple CGI protocol interpreter daemons (multiple php-cig or php-cgi.exe can be seen in the process management), waiting for the connection of the WEB server When the client requests to reach the WEB server, the FastCGI process manager selects and connects to a CGI interpreter. The WEB server sends CGI environment variables and standard input to the FastCGI subprocedure, php-cgi;php- CGI, and returns the standard output and error information to the WEB server. At this point, the php-cgi subprocedure closes the connection, the request closes, and then continues to wait and process the next request connection from the FastCGI process manager.
What are the characteristics of php 1, the execution speed is fast.
2. It has good openness and expansibility.
3. PHP supports a variety of mainstream and non-mainstream databases.
Object-oriented programming: PHP provides classes and objects.
5. The update speed of the version is fast.
6. It has rich functions.
7. Scalability.
8. Comprehensive functions, including graphics processing, encoding and decoding, compressed file processing, xml analysis and so on.
This is the end of the content of "what is the FastCGI mode of php". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.