PHP is arguably one of the most widely used server-side programming languages. It’s the language of choice when developing dynamic and responsive websites. In fact, popular CM platforms such as WordPressDrupal, and Magento are based on PHP.

At the time of penning down this guide, the latest version of PHP is PHP 8.0. It was released on November 26, 2020. It boasts of new features and optimizations such as union types, named arguments, null safe operator, match expression, JIT, and improvements in error handling and consistency.

This tutorial walks you through the installation of PHP 8.0 on Ubuntu 20.04 / 18.04.

On this page

  • Add the Ondřej Surý PPA Repository on Ubuntu
  • Install PHP 8.0 with Apache on Ubuntu
  • Install PHP 8.0 with Nginx on Ubuntu
  • Install PHP 8 Extensions in Ubuntu
  • Verify PHP 8 Installation in Ubuntu

Step 1: Add the Ondřej Surý PPA Repository

Step 2: Install PHP 8.0 with Apache on Ubuntu

Step 2: Install PHP 8.0 with Nginx on Ubuntu

Step 4: Install PHP 8 Extensions in Ubuntu

Step 5: Verify PHP 8 Installation in Ubuntu

#php #ubuntu #php tips #ubuntu tips

How to Install PHP 8.0 on Ubuntu 20.04 / 18.04
1.50 GEEK