Linux/macOS용 설치 스크립트, Docker 이미지, 사전 빌드된 Windows 바이너리.
Linux 및 macOS에 권장되는 설치 방법입니다. 스크립트가 PHP 소스 코드와 TrueAsync 확장을 다운로드하고 모든 것을 자동으로 빌드합니다.
대화형 마법사가 설정을 안내합니다: 확장 선택, 디버그 모드, 설치 경로 및 PATH 구성.
curl -fsSL https://raw.githubusercontent.com/true-async/releases/master/installer/build-linux.sh | bash
Ubuntu, Debian 및 기타 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) 및 Intel. 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 |
설치 디렉토리 (기본값 $HOME/.php-trueasync) |
--set-default |
기본 php로 PATH에 추가 |
--debug |
디버그 심볼과 함께 빌드 |
--extensions PRESET |
확장 세트: standard, xdebug, all |
--no-interactive |
대화형 마법사 건너뛰기 |
빌드 후 php-trueasync 유틸리티를 사용할 수 있습니다:
php-trueasync rebuild |
새 소스에서 재빌드 |
php-trueasync version |
설치된 버전 표시 |
php-trueasync uninstall |
TrueAsync PHP 제거 및 PATH 정리 |
PHP와 TrueAsync가 포함된 사전 빌드 이미지. 각 이미지에는 CLI와 FPM이 포함되어 있습니다.
trueasync/php-true-async:0.6.0-php8.6
Ubuntu 24.04 — CLI + FPM
trueasync/php-true-async:0.6.0-php8.6-alpine
Alpine 3.20 — CLI + FPM (lightweight)
trueasync/php-true-async:0.6.0-php8.6-debug
Ubuntu 24.04 — CLI + FPM (debug symbols)
docker pull trueasync/php-true-async:latest
docker run --rm trueasync/php-true-async:latest php -v
스크립트 실행:
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"]
Windows x64용 TrueAsync가 포함된 사전 빌드 PHP 바이너리.
SHA256 해시는 각 릴리스의 sha256sums.txt에서 확인할 수 있습니다.
irm https://raw.githubusercontent.com/true-async/releases/master/installer/install.ps1 | iex
Windows x64용 TrueAsync가 포함된 사전 빌드 PHP 바이너리.
SHA256 해시는 각 릴리스의 sha256sums.txt에서 확인할 수 있습니다.
irm https://raw.githubusercontent.com/true-async/releases/master/installer/install.ps1 | iex