have recently installed 20.04 beta on my Laptop. I need to install php 5.6. I have googled a lot regarding it, but all are suggesting to install Via Ondrej Suri PPA. I have done that but it is giving error that 'unable to locate package php5.6'. I have checked their repository and found that they have support for 19.10 version but not for 20.04.
I have tried to find other methods but unable to find any. I am a noob on linux.
Please suggest an alternate way. I badly need this.
You need to configure repository on your system.
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
Then update repo
sudo apt update
Once the update complete, you can install any version from 5.6 to 7.4
sudo apt install -y php5.6
Or
sudo apt install -y php7.4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With