Hello, I am trying to do https://www.howtoforge.com/tutorial...nfig-3-from-debian-packages-on-debian-8-and-9 It seems impossible with ubuntu 20.04 = "focal" "apt upgrade" says : "The repository 'https://packages.sury.org/php focal Release' does not have a Release file." Any workaround ? May be a little bit to early for ubuntu 20.04...
You are using Ubuntu, so should not add Debian repository to your /etc/apt/ -configuration. Instead look up corresponding Ubuntu repository from https://deb.sury.org/
Thank you very much I run add-apt-repository ppandrej/php + apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys {both key} and now ok ! Not sure to understand why I can't apt-get from "official" ubuntu repo ?
You can use that same tutorial for Ubuntu, except the repository to add must be an Ubuntu repository. And the usual Ubuntu repository does not have additional PHP versions, so you must add the repository Ondrej Sury provides, which does offer PHP versions from 5.6 to 7.4.