Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 148
  • Last Modified:


what is SAPI is it the same with CGI ,Does it need a server resorce compare with CGI
1 Solution
from wikipedia:

Server Application Programming Interface (or SAPI) is the term used by PHP to designate direct module interfaces to web server applications such as the Apache HTTP Server, Microsoft IIS, or iPlanet. Microsoft also uses the term in ISAPI. For many servers, PHP has a direct module interface called SAPI. It is in the form of a DLL file; for example, for Apache 2.0, it is called php5apache2.dll. The DLL is a module that provides an interface between PHP and the web server, written in a form that the server understands.

So ... it is not a web programming language like CGI, but the application interface between the server side programming language (PHP) and the basic functions provided by the server.

Peace and joy.  mvan

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now