This installation method uses binaries provided by your Linux distribution. It contains patches to the PHP source code added by the build provider, over which the PHP project has no control.
On the command line, run the commands below:
# Update the package lists.
sudo apt update
# Install PHP.
sudo apt install -y php