PHP CLI pp 13-30 | Cite as

Understanding and Using the CLI SAPI

  • Rob Aley


As mentioned in the previous chapter, PHP CLI scripting involves 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.


Command Line Shell Script Script File Syntax Error Reflection Information 

Copyright information

© Robert Aley 2016

Authors and Affiliations

  • Rob Aley
    • 1
  1. 1.OxfordUK

Personalised recommendations