Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.25 KB

File metadata and controls

47 lines (30 loc) · 1.25 KB

The phpdbg SAPI

Configuration options

PHP_SAPI_PHPDBG

  • Default: ON
  • Values: ON|OFF

Enables the phpdbg SAPI module as an executable.

PHP_SAPI_PHPDBG_SHARED

  • Default: OFF
  • Values: ON|OFF

Builds phpdbg SAPI also as a shared module together with an executable.

The phpdbg shared library is after the build phase located in the sapi/phpdbg directory:

  • libphpdbg.so (*nix), or libphpdbg.dylib (macOS), or libphpdbg.dll (Windows)

PHP_SAPI_PHPDBG_DEBUG

  • Default: OFF
  • Values: ON|OFF

Builds phpdbg in debug mode to enable additional diagnostic output for developing and troubleshooting phpdbg itself.

PHP_SAPI_PHPDBG_READLINE

  • Default: OFF
  • Values: ON|OFF

Explicitly enables readline support in phpdbg for command history accessible through arrow keys. Requires the Editline library. If the PHP extension readline is enabled during the build process, the phpdbg readline support is automatically enabled regardless of this option.

Where to find the Editline installation on the system, can be customized with the EDITLINE_ROOT variable.