Loading...
How to install PHP 8 on Ubuntu 20.04 - Knowledgebase

How to install PHP 8 on Ubuntu 20.04 Print

  • php, web server, ubuntu
  • 2

Step 1 — Check for updates

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?

« Back