This article introduces the content of "PHP installation and Configuration" before the installation needs to consider, has a certain reference value, now share to everyone, the need for friends can refer to
PHP Application areas:
Need:
Connect PHP to the server
For many servers, PHP has a direct module interface (also called SAPI). These servers include Apache, Microsoft Internet Information Server, Netscape, and IPlanet. Many other servers support ISAPI, the Microsoft Module interface (OMNIHTTPD is an example).
If PHP cannot support a Web server as a module, it can always be used as a CGI or FastCGI processor. This means you can use PHP's CGI executable to process PHP file requests on all servers.
SAPI
In calculations, the Server Application Programming interface (SAPI) is the direct module interface for Web servers such as Apache HTTP server,microsoft IIS and Oracle iPlanet Web server. Microsoft uses the term Internet Server Application programming Interface (ISAPI), which disables the Netscape Web server by using the term Netscape Server Application programming Interface (NSAPI) to achieve the same purpose. [1] In other words, SAPI is an application programming interface (API) to help other developers extend the functionality of the Web server.
For example, PHP provides a direct module interface called SAPI for different Web servers; [2] In the case of PHP 5 and Apache 2.0 in Windows, it is provided in a form of DLL called file Php5apache2.dll,[3] This is a module which, in addition to other functions, provides PHP and interface between the Web server, Implemented in a server-understandable form. This form is called the SAPI.
Various network server extensions exist in different kinds of SAPI. For example, other SAPI in the PHP language include the Public Gateway Interface (CGI) and the Command line interface (CLI), in addition to those listed above.
PHP Command Line script
Desktop (GUI) applications
Write by PHP-GTK Extension
PHP Application areas:
Need:
Connect PHP to the server
For many servers, PHP has a direct module interface (also called SAPI). These servers include Apache, Microsoft Internet Information Server, Netscape, and IPlanet. Many other servers support ISAPI, the Microsoft Module interface (OMNIHTTPD is an example).
If PHP cannot support a Web server as a module, it can always be used as a CGI or FastCGI processor. This means you can use PHP's CGI executable to process PHP file requests on all servers.
SAPI
In calculations, the Server Application Programming interface (SAPI) is the direct module interface for Web servers such as Apache HTTP server,microsoft IIS and Oracle iPlanet Web server. Microsoft uses the term Internet Server Application programming Interface (ISAPI), which disables the Netscape Web server by using the term Netscape Server Application programming Interface (NSAPI) to achieve the same purpose. [1] In other words, SAPI is an application programming interface (API) to help other developers extend the functionality of the Web server.
For example, PHP provides a direct module interface called SAPI for different Web servers; [2] In the case of PHP 5 and Apache 2.0 in Windows, it is provided in a form of DLL called file Php5apache2.dll,[3] This is a module which, in addition to other functions, provides PHP and interface between the Web server, Implemented in a server-understandable form. This form is called the SAPI.
Various network server extensions exist in different kinds of SAPI. For example, other SAPI in the PHP language include the Public Gateway Interface (CGI) and the Command line interface (CLI), in addition to those listed above.
PHP Command Line script
Desktop (GUI) applications
Write by PHP-GTK Extension