Installation scripts for Linux/macOS, Docker images, and pre-built Windows binaries.
| Version | Release date | Requires | Changelog |
|---|---|---|---|
| TrueAsync 0.6.3 | 2026-03-25 | PHP 8.6-dev (ZTS) | Changelog → |
| TrueAsync 0.6.2 | 2026-03-24 | PHP 8.6-dev (ZTS) | Changelog → |
| TrueAsync 0.6.1 | 2026-03-15 | PHP 8.6-dev (ZTS) | Changelog → |
| TrueAsync 0.6.0 | 2026-03-14 | PHP 8.6-dev (ZTS) | Changelog → |
Recommended installation method for Linux and macOS. The script downloads PHP source code, the TrueAsync extension, and builds everything automatically.
An interactive wizard will guide you through setup: choosing extensions, debug mode, installation path, and PATH configuration.
curl -fsSL https://raw.githubusercontent.com/true-async/releases/master/installer/build-linux.sh | bash
Ubuntu, Debian, and other apt-based distributions.
curl -fsSL https://raw.githubusercontent.com/true-async/releases/master/installer/build-linux.sh \
| NO_INTERACTIVE=true EXTENSIONS=all SET_DEFAULT=true bash
Apple Silicon (ARM) and Intel. Requires Homebrew.
curl -fsSL https://raw.githubusercontent.com/true-async/releases/master/installer/build-macos.sh | bash
curl -fsSL https://raw.githubusercontent.com/true-async/releases/master/installer/build-macos.sh \
| NO_INTERACTIVE=true EXTENSIONS=all SET_DEFAULT=true bash
--prefix DIR |
Installation directory (default $HOME/.php-trueasync) |
--set-default |
Add to PATH as default php |
--debug |
Build with debug symbols |
--extensions PRESET |
Extension set: standard, xdebug, all |
--no-interactive |
Skip the interactive wizard |
After building, the php-trueasync utility is available:
php-trueasync rebuild |
Rebuild from fresh sources |
php-trueasync version |
Show installed version |
php-trueasync uninstall |
Uninstall TrueAsync PHP and clean up PATH |
Pre-built images with PHP and TrueAsync. Each image includes CLI and FPM.
trueasync/php-true-async:0.6.4-php8.6
Ubuntu 24.04 — CLI + FPM
trueasync/php-true-async:0.6.4-php8.6-alpine
Alpine 3.20 — CLI + FPM (lightweight)
trueasync/php-true-async:0.6.4-php8.6-debug
Ubuntu 24.04 — CLI + FPM (debug symbols)
trueasync/php-true-async:latest
Ubuntu 24.04 — alias for latest stable
trueasync/php-true-async:latest-alpine
Alpine 3.20 — alias for latest stable
docker pull trueasync/php-true-async:latest
docker run --rm trueasync/php-true-async:latest php -v
Run a script:
docker run --rm -v $(pwd):/app -w /app trueasync/php-true-async:latest php script.php
FROM trueasync/php-true-async:latest
COPY . /app
WORKDIR /app
CMD ["php", "server.php"]
Pre-built PHP binaries with TrueAsync for Windows x64.
SHA256 hashes are available in sha256sums.txt in each release.
irm https://raw.githubusercontent.com/true-async/releases/master/installer/install.ps1 | iex