add the ondrej php repository to your machine:

sudo add-apt-repository ppa:ondrej/php
apt update
apt upgrade
apt install php5.6

install additional php 5.6 modules:
apt-get install php5.6-gd php5.6-mysql php5.6-imap php5.6-curl php5.6-intl php5.6-pspell php5.6-recode php5.6-sqlite3 php5.6-tidy php5.6-xmlrpc php5.6-xsl php5.6-zip php5.6-mbstring php5.6-soap php5.6-opcache libicu65 php5.6-common php5.6-json php5.6-readline php5.6-xml

--- links ----
- https://launchpad.net/~ondrej/+archive/ubuntu/php/+packages?field.name_filter=php5&field.status_filter=published&field.series_filter=
- https://vitux.com/how-to-install-php5-php8-on-ubuntu/

computer2know :: thank you for your visit :: have a nice day :: © 2024