Incomputing,server application programming interface (SAPI) is the direct module interface toweb servers such as theApache HTTP Server,Microsoft IIS, andOracle iPlanet Web Server. In other words, SAPI is anapplication programming interface (API) provided by the web server to help other developers in extending the web server capabilities.
Microsoft uses the termInternet Server Application Programming Interface (ISAPI), and the defunctNetscape web server used the termNetscape Server Application Programming Interface (NSAPI) for the same purpose.[1]
As an example,PHP has a direct module interface called SAPI for different web servers;[2] in the case of PHP 5 and Apache 2.0 on Windows, it is provided in the form of aDLL file calledphp5apache2.dll,[3] which is a module that, among other functions, 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.
Different kinds of SAPIs exist for various web-server extensions. For example, in addition to those listed above, other SAPIs for the PHP language include theCommon Gateway Interface (CGI) andcommand-line interface (CLI).[2][4]
Thiscomputer-programming-related article is astub. You can help Wikipedia byexpanding it. |