Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 727 Bytes

File metadata and controls

24 lines (16 loc) · 727 Bytes

The embed SAPI

Configuration options

PHP_SAPI_EMBED

  • Default: OFF
  • Values: ON|OFF

Enables the embedded PHP SAPI module for embedding PHP into application using C bindings.

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

  • as a shared library libphp.so (*nix), or libphp.dylib (macOS), or phpembed.dll (Windows)
  • and a static library libphp.a (*nix), or phpembed.lib (Windows)

which can be further used in other applications. It exposes PHP API as C library for other programs to use PHP.