Introduction PHP is a general-purpose scripting language mainly known for web development. However, PHP code does not run on its own. The Zend Engine compiles and executes code, yet it still needs a host layer that feeds it the script, collects the output, and describes the environment.
Source: [Dev.to](https://dev.to/dvlpr1996/php-cli-sapi-lel)