Script di installazione per Linux/macOS, immagini Docker e binari precompilati per Windows.
| Versione | Data di rilascio | Requisiti | 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 → |
Metodo di installazione consigliato per Linux e macOS. Lo script scarica il codice sorgente di PHP, l'estensione TrueAsync e compila tutto automaticamente.
Una procedura guidata interattiva vi accompagnerà nella configurazione: scelta delle estensioni, modalità debug, percorso di installazione e configurazione del PATH.
curl -fsSL https://raw.githubusercontent.com/true-async/releases/master/installer/build-linux.sh | bash
Ubuntu, Debian e altre distribuzioni basate su apt.
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) e Intel. Richiede 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 |
Directory di installazione (predefinita $HOME/.php-trueasync) |
--set-default |
Aggiungi al PATH come php predefinito |
--debug |
Compila con simboli di debug |
--extensions PRESET |
Set di estensioni: standard, xdebug, all |
--no-interactive |
Salta la procedura guidata interattiva |
Dopo la compilazione, è disponibile l'utilità php-trueasync:
php-trueasync rebuild |
Ricompila dai sorgenti |
php-trueasync version |
Mostra la versione installata |
php-trueasync uninstall |
Disinstalla TrueAsync PHP e rimuovi dal PATH |
Immagini precompilate con PHP e TrueAsync. Ogni immagine include CLI e 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
Esegui uno 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"]
Binari PHP precompilati con TrueAsync per Windows x64.
Gli hash SHA256 sono disponibili in sha256sums.txt in ogni release.
irm https://raw.githubusercontent.com/true-async/releases/master/installer/install.ps1 | iex