Understanding the CLI SAPI, and Why You Need To

  • Rob Aley


As I mentioned in Chapter 2, most off-web programming you do will involve using the PHP CLI SAPI. It’s therefore important to have a good grasp of how to use it, know the options for configuring and running it, and understand how it differs from the web-based SAPIs you are used to using. Luckily, the differences are minimal, and many are intuitive, although it’s still worth having a thorough read of this chapter as the CLI SAPI forms the basis upon which most of your code will run.


Command Line Shell Script Source Code File Script File Syntax Error 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

©  Rob Aley 2016

Authors and Affiliations

  • Rob Aley
    • 1
  1. 1.OxfordUK

Personalised recommendations