In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
Today, the editor will share with you the relevant knowledge of what the advantages and disadvantages of php FastCGI mode are, detailed content and clear logic. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.
1, advantages, independent process pool to run, support distributed computing, dynamic logic separation.
In terms of stability, FastCGI mode runs CGI protocol programs in a separate process pool. When a single process dies, the system can easily discard it, and then reassign new processes to run logic.
From a security point of view, FastCGI mode supports distributed computing. The FastCGI program is completely independent of the host Server, and the failure of the FastCGI program does not affect the Server.
From the performance point of view, the FastCGI mode separates the dynamic logic processing from the Server, and the heavy load of IO processing is left to the host Server, so that the host Server can deal with IO wholeheartedly. For an ordinary dynamic web page, the logic processing may be only a small part, a large number of pictures and other static.
2. Disadvantages: there is only one php.ini file available for all subdirectories, and there is a delay in upgrading the environment.
You have only one php.ini file available for all subdirectories (/ home/USERNAME/public_html/php.ini). This is necessary to optimize the site code. If you need multiple php.ini files to suit different script needs, you can disable PHP's fast CGI in any subdirectory, while the rest remains in effect. If you need to do this, please contact support.
Any upgrades you make to the PHP environment (such as changes to php.ini files) will be delayed by a few minutes. This is because your php.ini file has been loaded into memory in order to make it faster, rather than re-reading it from memory every time you need it.
What language is php php, a nested acronym, is the abbreviation of English Hypertext preprocessing language (PHP:Hypertext Preprocessor). PHP is a kind of HTML embedded language. PHP is somewhat similar to Microsoft's ASP. It is a scripting language that embeds HTML documents on the server. The style of the language is similar to C language, and now it is widely used by many website programmers.
These are all the contents of the article "what are the advantages and disadvantages of the php FastCGI model?" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.
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.