<s>
In	O
computing	O
,	O
server	B-General_Concept
application	I-General_Concept
programming	I-General_Concept
interface	I-General_Concept
(	O
SAPI	O
)	O
is	O
the	O
direct	O
module	O
interface	O
to	O
web	B-Application
servers	I-Application
such	O
as	O
the	O
Apache	B-Application
HTTP	I-Application
Server	I-Application
,	O
Microsoft	B-Application
IIS	I-Application
,	O
and	O
Oracle	B-Language
iPlanet	I-Language
Web	I-Language
Server	I-Language
.	O
</s>
<s>
In	O
other	O
words	O
,	O
SAPI	O
is	O
an	O
application	B-Application
programming	I-Application
interface	I-Application
(	O
API	B-Application
)	O
provided	O
by	O
the	O
web	B-Application
server	I-Application
to	O
help	O
other	O
developers	O
in	O
extending	O
the	O
web	B-Application
server	I-Application
capabilities	O
.	O
</s>
<s>
Microsoft	O
uses	O
the	O
term	O
Internet	B-Library
Server	I-Library
Application	I-Library
Programming	I-Library
Interface	I-Library
(	O
ISAPI	B-Library
)	O
,	O
and	O
the	O
defunct	O
Netscape	B-Protocol
web	B-Application
server	I-Application
used	O
the	O
term	O
Netscape	B-Application
Server	I-Application
Application	I-Application
Programming	I-Application
Interface	I-Application
(	O
NSAPI	O
)	O
for	O
the	O
same	O
purpose	O
.	O
</s>
<s>
As	O
an	O
example	O
,	O
PHP	B-Application
has	O
a	O
direct	O
module	O
interface	O
called	O
SAPI	O
for	O
different	O
web	B-Application
servers	I-Application
;	O
in	O
the	O
case	O
of	O
PHP5	O
and	O
Apache2.0	O
on	O
Windows	O
,	O
it	O
is	O
provided	O
in	O
the	O
form	O
of	O
a	O
DLL	O
file	O
called	O
,	O
which	O
is	O
a	O
module	O
that	O
,	O
among	O
other	O
functions	O
,	O
provides	O
an	O
interface	O
between	O
PHP	B-Application
and	O
the	O
web	B-Application
server	I-Application
,	O
implemented	O
in	O
a	O
form	O
that	O
the	O
server	O
understands	O
.	O
</s>
<s>
Different	O
kinds	O
of	O
SAPIs	O
exist	O
for	O
various	O
web-server	B-Application
extensions	O
.	O
</s>
<s>
For	O
example	O
,	O
in	O
addition	O
to	O
those	O
listed	O
above	O
,	O
other	O
SAPIs	O
for	O
the	O
PHP	B-Application
language	I-Application
include	O
the	O
Common	B-Language
Gateway	I-Language
Interface	I-Language
(	O
CGI	O
)	O
and	O
command-line	B-Application
interface	I-Application
(	O
CLI	O
)	O
.	O
</s>
