Wednesday, May 15, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 9364  / 3 Years ago, sat, november 27, 2021, 1:42:07

How to install the old version of PHP.
It does not work at the moment repository


sudo add-apt-repository -y ppa:ondrej/php

Then:


The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu impish Release' does not have a Release file.

More From » php

 Answers
2

I've had similar problem and I solved it by:


sudo nano /etc/apt/sources.list.d/ondrej-ubuntu-php-impish.list

then replacing impish (Ubuntu 21.10) with focal (Ubuntu 20.04) on the first line in the file to this:


deb http://ppa.launchpad.net/ondrej/php/ubuntu/ focal main

and then


sudo apt install php5.6

[#1103] Sunday, November 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
impisaso

Total Points: 423
Total Questions: 106
Total Answers: 104

Location: Virgin Islands (U.S.)
Member since Tue, Feb 2, 2021
3 Years ago
;