Server application programming interface: Difference between revisions

Content deleted Content added
Doesn't "dwarf" the article when collapsed by default
Rescuing 2 sources and tagging 0 as dead.) #IABot (v2.0.9.5) (Whoop whoop pull up - 21816
 
(45 intermediate revisions by 22 users not shown)
Line 1:
{{Short description|API used to interface with web servers}}
{{Other uses|SAPI (disambiguation){{!}}SAPI}}
In [[computing]], '''server application programming interface''' ('''SAPI''') is the direct module interface to [[web server]]s such as the [[Apache HTTP Server]], [[Microsoft Internet Information Server|Microsoft IIS]], and [[Oracle iPlanet Web Server]].
}}</ref> In other words, SAPI is actually an [[application programming interface]] (API) provided by the web server to help other developers in extending the web server capabilities.
 
In [[computingMicrosoft]], '''Server Application Programming Interface''' ('''SAPI''') isuses the direct module interface toterm [[web server]]s such as the [[Apache HTTP Server]], [[Microsoft Internet Information Server|Microsoft IIS]],Application andProgramming [[Oracle iPlanet Web ServerInterface]]. [[Microsoft]] also uses the term [[(ISAPI]]), and the defunct [[Netscape]] web server used the term [[Netscape Server Application Programming Interface|NSAPI]] (NSAPI) for the same purpose.<ref>{{cite web
| url = http://searchsoa.techtarget.com/definition/Netscape-Server-Application-Programming-Interface
| title = Netscape Server Application Programming Interface (NSAPI)
| date = September 2005
| accessdate = 2013-09-22
| website = techtarget.com
| archive-date = 2016-11-16
}}</ref> In other words, SAPI is actually an [[application programming interface]] (API) provided by the web server to help other developers in extending the web server capabilities.
| archive-url = https://web.archive.org/web/20161116123047/http://searchsoa.techtarget.com/definition/Netscape-Server-Application-Programming-Interface
| url-status = dead
}}</ref>
 
As an example, [[PHP]] has a direct module interface called SAPI for different web servers.;<ref name="php-installation">{{cite web
| url = http://php.net/manual/en/install.general.php
| title = General Installation Considerations
| accessdate = 2013-09-22
| website = PHPphp.net
}}</ref> in Forthe PHPcase of PHP&nbsp;5 and Apache &nbsp;2.0 on Windows, it is provided in the form of a [[Dynamic-link library|DLL]] file called <code>{{Mono|php5apache2.dll</code>}},<ref>{{cite web
| url = http://php.net/manual/en/install.windows.apache2.php
| title = PHP: Apache 2.x on Microsoft Windows
| accessdate = 2013-09-22
| website = PHPphp.net
|url-status = dead
}}</ref> which is a module that{{mdashb}}among other functions{{mdashb}}provides an interface between PHP and the web server, implemented in a form that the server understands. This form is what is known as a SAPI.
|archiveurl = https://web.archive.org/web/20130926122011/http://php.net/manual/en/install.windows.apache2.php
|archivedate = 2013-09-26
}}</ref> which is a module that{{mdashb}}, among other functions{{mdashb}}, provides an interface between PHP and the web server, implemented in a form that the server understands. This form is what is known as a SAPI.
 
There are differentDifferent kinds of SAPIs exist for various web -server extensions. For example, anotherin twoaddition to those listed above, other SAPIs for the PHP language areinclude PHPthe [[Common Gateway Interface]] (CGI) and PHP [[Commandcommand-line interface]] (CLI).<ref name="php-installation" /><ref>{{cite web
| url = http://www.php.net/manual/en/features.commandline.introduction.php
| title = Command line usage: Introduction
| accessdate = 2013-09-22
| website = PHPphp.net
| archive-date = 2021-03-21
}}</ref>
| archive-url = https://web.archive.org/web/20210321035330/https://www.php.net/manual/en/features.commandline.introduction.php
| url-status = dead
}}</ref>
 
== See also ==
 
* [[Application programming interface]] (API)
* [[Internet Server Application Programming Interface]] (ISAPI)
* [[Common Gateway Interface]] (CGI)
* [[FastCGI]] (a variation of the CGI)