Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the common operation modes of php

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces "what are the common operation modes of php". In daily operation, I believe many people have doubts about the common operation modes of php. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "what are the common operation modes of php?" Next, please follow the editor to study!

1 、 CGI

Allow the web server to communicate with the application through a specific protocol. Generally speaking, CGI is like a bridge between the web page and the executor in the WEB server, passing the instructions received by HTML to the server executor, and then returning the server executor to the HTML page. Cross-platform CGI has excellent performance and can be implemented in almost any operating system.

2 、 FastCGI

Fast-cgi is an upgraded version of cgi mode, it is like a resident cgi, as long as after opening, do not spend time to fork every time, you can always process the request, no longer need to end the process.

3 、 CLI

Is the interface that the php command line runs, unlike the PHP environment (PHP-CGI, ISAPI, etc.) running on the Web server. In other words, PHP can write not only foreground pages, but also background programs.

4. Web module mode

When apache+php runs, it uses module mode by default, which starts php as a module of apache when apache starts, and directly processes it by calling mod_php module when it receives a user's request.

5 、 ISAPI

Microsoft provides a set of API interface for Internet service, an ISAPI DLL, which can stay in memory after being activated by a user request, wait for another user request, and set up multiple user request handling functions in a DLL.

What are the frameworks of php? what are the php frameworks?

1. Laravel,Laravel is a free and open source PHP application framework.

2. Phalcon,Phalcon is the fastest PHP framework.

3. Symfony,Symfony is a PHP framework for Web projects.

4. Yii,Yii is a fast, secure and professional PHP framework.

CodeIgniter,CodeIgniter is a very agile open source PHP framework.

6. CakePHP,CakePHP is an old PHP framework.

7. Kohana,Kohana is an agile but powerful PHP framework.

At this point, the study on "what are the common operating modes of php" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report