Skip to content


Build standalone PHP binary on Linux, macOS, FreeBSD, with PHP project together, with popular extensions included.

Static CLI Binary

You can easily compile a standalone php binary for general use. Including CLI, FPM sapi.

Micro Self-Extracted Executable

You can compile a self-extracted executable and build with your php source code.

Dependency Management

static-php-cli comes with dependency management and supports installation of different types of PHP extensions.