Как установить старую версию PHP. В данный момент не работает репозиторий
sudo add-apt-repository -y ppa:ondrej/php
Тогда:
The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu impish Release' does not have a Release file.