1

I'm trying to install PHP5.3 on an Ubuntu server, I've tried the following:

How can I achieve this?

Nichm
  • 21

1 Answers1

0

For Ubuntu 20.04, you can install PHP 5.3 from ppa:sergey-dryabzhinsky/php53:

sudo add-apt-repository ppa:sergey-dryabzhinsky/php53
sudo apt update
sudo apt install php5

If you want to use it with Apache server you will also need this:

sudo apt-get install libapache2-mod-php53
sudo a2enmod php53
sudo service apache2 restart

Available for modules:

apt-cache search php53
sotirov
  • 4,379