SAPI (Server API)
A SAPI is the layer that connects the PHP interpreter to what feeds it requests, such as mod_php, PHP-FPM, CGI or the command line. Each SAPI handles request startup and shutdown differently.
A SAPI is the layer that connects the PHP interpreter to what feeds it requests, such as mod_php, PHP-FPM, CGI or the command line. Each SAPI handles request startup and shutdown differently.