Home > Article > Backend Development > 04-Single process SAPI life cycle life cycle theory software life cycle silkworm life cycle pp
CLI/CGI mode PHP belongs to the single-process SAPI mode. This type of request is closed after processing the request once. That is to say, it will only go through the following links: Start - Request starts - Request closes - End The SAPI interface implementation completes its life cycle.
Single process multiple requests are as shown below:
The above has introduced the 04-single process SAPI life cycle, including life cycle and api aspects. I hope it will be helpful to friends who are interested in PHP tutorials.