Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Install PHP on Ubuntu Linux

Step 1. Install developer packages 

sudo apt install software-properties-common

Step 2. Add the PHP repository 

sudo add-apt-repository ppa:ondrej/php

Step 3. Install PHP 8.1 

This will install PHP and required modules.

sudo apt install php8.1 libapache2-mod-php8.1 php8.1-{mbstring,intl,apcu,opcache,gd,curl,sqlite3,mysql,pgsql}

Step 4. Check It 

Check the PHP version.

$ php -v

You will see something like this:

PHP 8.1.7 (cli) (built: Jun  9 2022 14:08:46) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.7, Copyright (c) Zend Technologies
with Zend OPcache v8.1.7, Copyright (c), by Zend Technologies

Great! 

Back to install THT:

Download & Install THT