我已按照本教程在 Ubuntu 22.10 上安装 php7.4。
据我所知,我只需要添加这个 PPA 并更新我的存储库
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
然后安装 php7.4
sudo apt-get instal php7.4
Run Code Online (Sandbox Code Playgroud)
但是,我收到此错误:
nugroho@vostro:~$ sudo apt-get update
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 https://ppa.launchpadcontent.net/ondrej/php/ubuntu kinetic InRelease
Err:3 https://ppa.launchpadcontent.net/ondrej/php/ubuntu kinetic Release
404 Not Found [IP: 185.125.190.52 443]
Hit:4 http://archive.ubuntu.com/ubuntu kinetic InRelease
Get:5 http://archive.ubuntu.com/ubuntu kinetic-updates InRelease [90,7 kB]
Hit:6 http://archive.ubuntu.com/ubuntu kinetic-backports InRelease
Get:7 http://archive.ubuntu.com/ubuntu kinetic-security InRelease [90,7 kB]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu kinetic Release' does not have a Release …Run Code Online (Sandbox Code Playgroud)