Learn from scratch: PHP execution mechanism issues

Source: Internet
Author: User
Tags file handling

PHP, as a hypertext preprocessing language, is equivalent to some logical processing before Apache returns the response result. PHP is responsible for the logical processing of the language, PHP as a module of Apache, the life cycle is dependent on the operation of Apache.

Unlike Apache, which starts PHP parsing PHP scripts, the benefit of opening fastcgi,fastcgi is to separate PHP from the server instead of PHP as a module. FastCGI a communication interface that interacts with the server for PHP. "Unlike CGI, each time a script will open the script interpreter, fastcgi use, separate the server from PHP, but the high-speed communication interface to ensure communication between the two (CGI), fastcgi will turn on the script interpreter protection process, so long as the script tag encountered, The server simply gives the script to the interpreter, which shortens the time to open the script interpreter "http://www.thinkphp.cn/topic/13082.html" which is a mechanism issue for PHP execution "This also solves the P An issue in which the HP code can perform normally in the case of HTML annotations. Although this is not a problem in itself "in addition to this problem, there are also related to virtual host configuration issues." "Resolves a server's problem with file handling permissions: In several cases"

Learn from scratch: PHP execution mechanism issues

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.