There are two types of resources available to HTTPD, static resources and dynamic resources; static resources have our common pictures, JSP, music, audio, etc., and dynamic resources refer to some types of resources that need to be implemented by compiling execution code. They need a MySQL or MariaDB database to assist with the implementation. After running in the background, the results of the operation are returned to the user; after the client sends resources to the server, the server core is accepted and the resource is forwarded to HTTPD for processing. The role of the CGI common gateway interface protocol will direct resources for MySQL processing, and then compile the PHP subprocess according to HTTPD, and then return the result to the client; PHP is the programming language of the common server script;