How to install php8.3 in linux (ubuntu, debian)
~Editor
TL;DR
sudo apt update sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt install php8.3
execute the following commands
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.3
check whether installation is successful php -v
The fpm extension is necessary for php web server
sudo apt install php8.3-fpm
You can also install more (common) php extensions
sudo apt install php8.3 php8.3-cli php8.3-{common,curl,mbstring,intl,zip}