• « Functions restricted/disabled by safe mode
  • Introduction »
  • PHP 5 Manual
  • Features
  • Using PHP from the command line
Edit Report a Bug GitHub logo

Using PHP from the command line

Table of Contents

  • Introduction
  • Differences to other SAPIs
  • Options
  • Usage
  • I/O streams
  • Interactive shell
  • Built-in web server
  • INI settings
  • Other versions of this page
    • PHP 4
    • PHP 5
    • PHP 7 (php.net)
    • PHP 8 (php.net)
Legacy manuals maintained by Home
  • Get help migrating a legacy app
  • Extend PHP support for EOL versions