PHP 8.1 is currently only receiving security fixes. PHP 8.1.0alpha1 is not the latest version in the series, and using this release is not recommended. PHP 8.1.31 is the latest in the series.
Downloads
Source Code
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.1.0alpha1
./buildconf
), configuring the build ./configure
, and running make
.Detailed articles on how to compile PHP are available for Ubuntu/Debian based systems and Fedora/RHEL based systems.
Windows binaries
Docker/Podman Containers
docker pull php:8.1.0alpha1-cli-alpine
docker pull php:8.1.0alpha1-cli
docker pull php:8.1.0alpha1-fpm-alpine
docker pull php:8.1.0alpha1-apache
docker pull php:8.1.0alpha1-fpm