需要一些幫助,我無法在 ubuntu 18 中安裝 php8.2-fpm,這是我的命令
sudo apt install lsb-release apt-transport-https ca-certificates software-properties-common -y sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt install php8.2
這是回覆
$ sudo apt-get install php8.2 php8.2-fpm Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php8.2 E: Couldn't find any package by glob 'php8.2' E: Couldn't find any package by regex 'php8.2' E: Unable to locate package php8.2-fpm E: Couldn't find any package by glob 'php8.2-fpm' E: Couldn't find any package by regex 'php8.2-fpm'
Ubuntu 18.04 (Bionic Beaver) 現已付費擴充支援計畫之外不再受支援。 Ondřej Surý 的 PHP 軟體包僅適用於受支援的 Ubuntu 版本,因此 不再可用適用於 Ubuntu 18.04。
這也是該儲存庫的,詳細說明檔案立即不可用的原因:
您必須支付擴充支援費用,或更新到較新版本的 Ubuntu。