Provides various official and user-released code examples. For code reference, you are welcome to discuss ThinkPHP bug in CGI Mode.
Php experience sharing group: 323899029
In general, $ _ SERVER ['php _ SELF '] is no different from $ _ SERVER
How to make the web end use the new php version compiled and installed, and how to make the web end use the new php version
Reply content:
How to make the web end use the new php version compiled and installed
I don't understand your problem.
we know that the Workerman program needs to run in PHP-CLI mode, which is the command line mode, which we need to know.
There are 4 modes of operation in PHP now, namely CGI, FastCGI, CLI and Web module.
Cgi
The full name is the Universal
How to install the PHP development environment? Install and configure the php environment. How to install the PHP development environment? this may be a troublesome task for php beginners. He needs to install php, mysql, apache or phpmysqliis. The
What is CGI? CGI is a protocol, it doesn't matter what the process is. Web server, such as Nginx, is simply the publisher of the content.For example, 1) If the request is/*.html static data, then Web server will go to the file system to find this
Mod_php, FastCGI, PHP-FPM and other PHP running mode comparison. Mod_php, FastCGI, PHP-FPM and other PHP running mode comparison this article mainly introduces mod_php, FastCGI, PHP-FPM and other PHP running mode comparison, this article explains
Sapi:server application Programming Interface Server-side application programming port. It is the interface between PHP and other applications, and PHP scripts can be executed in a number of ways, either through a Web server or directly under the
https://segmentfault.com/q/1010000000256516I check the relationship between FastCGI and php-fpm on the Internet, check for a week, the basic look at the times, it is very divergent opinions, there is no authoritative definition.Online some say,
WEBPY Environment ConstructionBefore starting to build webpy, it is necessary to familiarize yourself with what is fastcgi, because the environment is to use this mode to run the WEBPY program, the specific fastcgi description can refer to various
1. Operation modeThe five most common operating modes for PHP are now: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 operation of
CGI is a protocol that specifies that the server nginx will send that data to php-cgiFastCGI can also be said to be an agreement. FastCGI is an improvement in the performance of CGI. FastCGI starts a master, parses the configuration file (php.ini,
As described in the official documentation, thinkphp uses a single portal, and all requests are entered from the default index.php file. Of course not that must be entered from the index.php, this should depend on your server configuration, the
How to install PHP development environment, this for PHP beginners may be a more troublesome thing, he needs to install Php,mysql,apache or PHP MySQL IIS Oh, the following small part to introduce the first kind.
Build a PHP development
Sapi:server abstraction API, the students who have studied PHP architecture should know the importance of this stuff, which provides an interface that allows PHP to interact with other applications. This article does not detail each PHP SAPI, but
SAPI: ServerApplicationProgrammingInterface server-side application programming port. It is the interface for PHP to interact with other applications. There are many ways to execute PHP scripts, either through the Web server or
SAPI: Server
Install and configure the Nginx server + PHP development environment from scratch in Linux ,. In Linux, the Nginx server and PHP development environment are installed and configured from scratch. Nginx is a lightweight HTTP server compiled by
PHP security practices that system administrators must know
PHP is an open source server-side scripting language that is widely used. The Apache Web server provides this convenience: access to files and content via HTTP or HTTPS protocol. Improperly
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.