Step 1 — Check for updates

1*FEuCKTMWu8R0mrHl8PKoTA.png

Step 2 — Install add the Ondrej PPA repository

Ondrej PPA repository downloaded

Step 3 — Install PHP 8 with Apache

PHP 8 installed with Apache
PHP-FPM is installed

Step 3 .2— Install PHP 8 with NGINX

server block nginx update

Step 4 — Install PHP 8 Extensions

Step 5 — Verify PHP 8 is installed correctly

Ubuntu server is running PHP version 8
 
Was this answer helpful? 2 Users Found This Useful (6 Votes)