Translations of this page:
  • en

Menu

This is an old revision of the document!


Installing Tools

sudo apt install zip unzip software-properties-common

PHP installation

Installing PHP's versions and libraries are pretty easy with the Ondrej Sury's personal package archive (PPA). I will install PHP 8.4 for this guide, but you can check which PHP version you want to install from the following page: https://launchpad.net/~ondrej/+archive/ubuntu/php

Adding Repository

sudo add-apt-repository ppa:ondrej/php

After adding the repository successfully, we can update the system.

sudo apt update

Installing PHP

sudo apt install -y php8.4 php8.4-gd php8.4-mbstring php8.4-xml php8.4-zip php8.4-intl
Edit this page
Back to top