PHP Installation
Author: sports98
The Web work environment with PHP environment is more and more, the PHP version is also gradually perfected from PHP3 to PHP4, then to php4.2.2
Php4.2.3,php4.3.0rc2 some time ago, some people asked php4.2.2 and
PHP operating mode has 4 minutes:1) CGI Universal Gateway Interface (Common Gateway Interface))2) fast-cgi resident (long-live) type CGI3) CLI command line run (Interface)4) Web module mode (module mode for Web server running like Apache) 1.CGI
PHP operating mode has 5 minutes:1) CGI Universal Gateway Interface (Common Gateway Interface))2) fast-cgi resident (long-live) type CGI3) CLI command line run (Interface)4) ISAPI mode (used in Windows)5) Web module mode (module mode for Web server
PHP installation author: sports98 uses PHP environment more and more WEB work environment, PHP version is gradually improved from PHP3 to PHP4, then to php4.2.2php4.2.3, php4.3.0RC2; some time ago, someone asked a question about the combination of
This article summarizes and introduces five php running modes, and makes a simple comparison, which is very detailed and comprehensive, I hope it will be helpful for you to learn how to use php. The PHP running mode has been around for four minutes:
PHP operating mode has 4 minutes:1) CGI Universal Gateway Interface (Common Gateway Interface))2) fast-cgi resident (long-live) type CGI3) CLI command line run (Interface)4) Web module mode (Apache and other Web servers run 1.CGI (Common Gateway
Step one: Download the PHP 5.2 for Windows installation package and unzip to C:\php. Note that this decompression directory can be under any disk, however the directory name cannot contain spaces;
Here is the file directory for php5.2:
c:\php
--dev
Step one: Download the PHP 5.2 for Windows installation package and unzip to C:\php. Note that this decompression directory can be under any disk, however the directory name cannot contain spaces;
Here is the file directory for php5.2:
c:\php
--dev
|
This article is a detailed analysis of the PHP operating mode introduced, the need for a friend referencePHP operating mode has 4 minutes:1) CGI Universal Gateway Interface (Common Gateway Interface))2) fast-cgi resident (long-live) type CGI3) CLI
First, PHP operating mode in Apache
PHP in the Apache a total of
three ways of working:CGI mode, fastcgi mode, Apache module DLL
The following are compared separately:
1. CGI mode compared to module mode:The difference between the two ways PHP
Step one: Download the PHP 5.2 for Windows installation package and extract it to C:\php. Note that this decompression directory can be under any disk, but the directory name cannot contain spaces;
The following is the php5.2 file directory:
c:\php
The installation of PHP in Windows is simple, but if you do not pay attention to the method, it will still give you a headache. In addition, the PHP5.2 version is different from the previous 4.x version, so it is necessary to record it to avoid
Postfix _ make: *** [xsasl_cyrus_server.o] Error 1 make: *** [update] // If a compilation error occurs, check the error. Generally, the package is not installed, if it is not a parameter path error, [comment]: xsasl_cyrus_server.c: 598: Error: 'sasl
Several php running modes are CLI, CGI, FastCGI, mod_php, and fastcgimod_php. Several php running modes: CLI, CGI, FastCGI, mod_php, fastcgimod_php1, and CLI: Are command lines. for example, you can type the command in the console or shell:
php in Apache and Ngnix under the operating mode.
1), Apache under three modes of operation: CGI mode, modular mode, fastcgi mode.
The CGI mode will is a relatively primitive way, every time the request will call Php.exe, parse php.ini, load
This article provides a detailed analysis of php running modes on various web servers. For more information, see
I. php running mode in apache
Php is common in apache.
Three working modes: CGI mode, FastCGI mode, and Apache module DLL
Comparison:
1
PHP operating mode has 4 minutes:1) CGI Universal Gateway Interface (Common Gateway Interface))2) fast-cgi resident (long-live) type CGI3) CLI command line run (Interface)4) Web module mode (module mode for Web server running like Apache)1.CGI
Run mode
About PHP currently more common five major operating modes:
1 CGI (Universal Gateway Interface/Common gateways Interface)
2) FastCGI (resident type cgi/long-live CGI)
3 CLI (command-line run/command line Interface)
4 Web Module mode (Apache
This article provides a detailed analysis of php running modes on various web servers. For more information, see
I. php running mode in apache
Php is common in apache.
Three working modes: CGI mode, FastCGI mode, and Apache module DLL
Comparison:
1
: This article describes how php-based running modes on various web servers. For more information about PHP tutorials, see. From: http://www.jb51.net/article/37759.htm
I. php running mode in apache
Php works in three ways in apache: CGI mode,
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.