1

I have recently install ubuntu 20.04 - focal fossal.

I tried to add ondrej PPA. But it is not working.

I only could install php7.4 by apt get.

Please help.

  • 4
    Do you need specifically 7.1? The PHP version in Ubuntu 20.04 is 7.4, and PPAs may take a little while to make 20.04 versions available. PHP 7.1 is end-of-life and was only supperted until 1 December 2019. When I've needed different specific versions I've found it easier to use Docker. – Kurankat Apr 24 '20 at 23:46
  • @Kurankat has the correct comment/answer. – Mark Apr 25 '20 at 01:07
  • 1
    Does this answer your question? How to build PHP 7.3? PHP 7.2 is end of life, but you can still download PHP 7.2 from https://www.php.net/downloads.php and then follow the instructions in the accepted answer to install it alongside PHP 7.4 that was installed by apt. – karel Apr 25 '20 at 10:16
  • PHP 7.1 is end of life, not PHP 7.2. – karel Apr 25 '20 at 10:23
  • This wasn't answered anywhere. Because the issue is not about installing php in general but certain php packages of a certain php version on Ubuntu 20.04. Ubuntu doesn't provide packages bellow 7.4. But some packages aren't available yet for 7.4. But you can still use older php versions of some php packages (in my case php7.3-recode). You could have just comment your stuff instead of closing the question!! – FullStack Alex Apr 28 '20 at 18:01
  • Here is a similar open question: https://askubuntu.com/questions/1231491/ubuntu-20-04-cant-install-older-php-versions – FullStack Alex Apr 28 '20 at 18:08
  • One more related question: https://askubuntu.com/questions/1231381/unable-to-install-php-7-3-on-ubuntu-20-04 – FullStack Alex Apr 28 '20 at 18:10
  • My question was not answered. The links provided not worked! – Gustavo Emmel Apr 29 '20 at 20:45

0 Answers0