Learning--php life cycle of PHP kernel
Start of everything: SAPI interface
SAPI (Server application programming Interface) refers to a specific application of PHP programming interface, just like a PC, no matter what operating system installed, as
The life cycle of PHP
In a common webserver environment, you cannot start the PHP interpreter directly; This is typically initiated by Apache or other webserver, which loads PHP processing scripts that need to be processed (requested. PHP
a more comprehensive set of PHP tutorials , basic video and some small combat projects, below is the video directoryCD-ROM (i) \php employment Class (I.)CD-ROM (i) \php Technical exchange zone. URLCD-ROM (i) \ "Wisdom Special issue" belongs to it
PHP Kernel Understanding: Life cycle and operating mode
PHP run mode
1) CGI (Universal Gateway Interface/Common Gateway Interface)2) FastCGI (resident type cgi/long-live CGI)3) CLI (command line run/Interface)4) Web module mode (the mode of
Start of everything: SAPI interfaceSAPI (Server application programming Interface) refers to a specific application of PHP programming interface, just like a PC, no matter what operating system installed, as long as the interface specification of
1, PHP mode of operation:PHP Two mode of operation is Web mode, CLI mode. regardless of the mode, PHP works the same way, running as a SAPI. 1. When we typed the PHP command at the terminal, it was using the CLI.It is like a Web server to support
1, PHP mode of operation:PHP Two mode of operation is Web mode, CLI mode. Regardless of the mode, PHP works the same way, running as a SAPI.1. When we typed the PHP command at the terminal, it was using the CLI.It is like a Web server to support PHP
In-depth understanding of PHP principles of execution cycle analysis, in-depth understanding of PHP
This article describes the PHP principle of the execution cycle. Share to everyone for your reference, as follows:
The execution cycle of PHP, from
If I kill PHP, the process
Will the PHP process execute the __destruct () destructor?
What is the impact on the life cycle of PHP?
I think that Linux kill is out of the control of PHP, and the PHP life cycle has no relationship, is this
Before you know the PHP life cycle, learn how Apache is associated with PHP.
Analysis of 1.Apache operation mechanism
Overall as follows:
Apache hook mechanism Apache hook mechanism refers to: Apache allow
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:
and provide relevant evidence. A staff member will contact you within 5 working days.