Release attuale

TrueAsync 0.6.7

Data di rilascio: 2026-04-14 · Requisiti PHP 8.6-dev (ZTS)

Tutte le build sono Thread Safe (ZTS). Changelog →

Versioni precedenti (7)
VersioneData di rilascioRequisitiChangelog
TrueAsync 0.6.62026-04-03PHP 8.6-dev (ZTS)Changelog →
TrueAsync 0.6.52026-03-29PHP 8.6-dev (ZTS)Changelog →
TrueAsync 0.6.42026-03-25PHP 8.6-dev (ZTS)Changelog →
TrueAsync 0.6.32026-03-25PHP 8.6-dev (ZTS)Changelog →
TrueAsync 0.6.22026-03-24PHP 8.6-dev (ZTS)Changelog →
TrueAsync 0.6.12026-03-15PHP 8.6-dev (ZTS)Changelog →
TrueAsync 0.6.02026-03-14PHP 8.6-dev (ZTS)Changelog →

Compilazione dal sorgente

Metodo di installazione consigliato per Linux e macOS. Lo script scarica il codice sorgente di PHP, l'estensione TrueAsync e compila tutto automaticamente.

Linux (Ubuntu/Debian)

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.

Modalità non interattiva (CI / automazione)

curl -fsSL https://raw.githubusercontent.com/true-async/releases/master/installer/build-linux.sh \
  | NO_INTERACTIVE=true EXTENSIONS=all SET_DEFAULT=true bash

macOS

Apple Silicon (ARM) e Intel. Richiede Homebrew.

curl -fsSL https://raw.githubusercontent.com/true-async/releases/master/installer/build-macos.sh | bash

Modalità non interattiva (CI / automazione)

curl -fsSL https://raw.githubusercontent.com/true-async/releases/master/installer/build-macos.sh \
  | NO_INTERACTIVE=true EXTENSIONS=all SET_DEFAULT=true bash

Opzioni di compilazione

--prefix DIRDirectory di installazione (predefinita $HOME/.php-trueasync)
--set-defaultAggiungere al PATH come php predefinito
--debugCompilare con simboli di debug
--extensions PRESETSet di estensioni: standard, xdebug, all
--no-interactiveSaltare la procedura guidata interattiva

Gestione dell'installazione

Dopo la compilazione, è disponibile l'utilità php-trueasync:

php-trueasync rebuildRicompilare da sorgenti aggiornati
php-trueasync versionMostrare la versione installata
php-trueasync uninstallDisinstallare TrueAsync PHP e pulire il PATH

Docker

Immagini precompilate con PHP e TrueAsync. Ogni immagine include CLI e FPM.

Immagini disponibili

trueasync/php-true-async:0.6.7-php8.6Ubuntu 24.04 — CLI + FPM
trueasync/php-true-async:0.6.7-php8.6-alpineAlpine 3.20 — CLI + FPM (lightweight)
trueasync/php-true-async:0.6.7-php8.6-debugUbuntu 24.04 — CLI + FPM (debug symbols)
trueasync/php-true-async:0.6.7-php8.6-frankenphpUbuntu 24.04 — FrankenPHP (Caddy + async worker)
trueasync/php-true-async:latestUbuntu 24.04 — alias for latest stable
trueasync/php-true-async:latest-alpineAlpine 3.20 — alias for latest stable
trueasync/php-true-async:latest-frankenphpFrankenPHP — alias for latest stable

Avvio rapido

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

Utilizzo nel Dockerfile

FROM trueasync/php-true-async:latest

COPY . /app
WORKDIR /app

CMD ["php", "server.php"]

Windows

Binari PHP precompilati con TrueAsync per Windows x64.

Gli hash SHA256 sono disponibili in sha256sums.txt in ogni release.

Installazione rapida (PowerShell)

irm https://raw.githubusercontent.com/true-async/releases/master/installer/install.ps1 | iex
Versioni precedenti (7)
VersioneData di rilascioReleaseDebug
0.6.62026-04-03~38 MB~35 MB
0.6.52026-03-29~38 MB~35 MB
0.6.42026-03-25~25 MB~30 MB
0.6.32026-03-25~37.6 MB~35.1 MB
0.6.22026-03-24~37.6 MB~35.1 MB
0.6.12026-03-15~37.6 MB~35.1 MB
0.6.02026-03-14~37.6 MB~35.1 MB