Content health: prewriting stage
This chapter is not yet finished. To speed up the progress, help us fix it at GitHub.

PHP SAPI modules

Server Application Programming Interface - SAPI helps interacting between the outside world and the PHP/Zend engine. PHP comes with muliple SAPI modules for using it in command line, with web servers or even embedding it in other applications.

CLI - command line interface

Using PHP in command line interface.

phpdbg - interactive PHP debugger

PHP includes an interactive debugger called phpdbg implemented as a SAPI module.

CGI - common gateway interface





Found a typo? Something wrong with this content?

Just fork and edit it.

Content of this work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license. Code snippets in examples are published under the CC0 1.0 Universal (CC0 1.0). Thanks to all contributors.