samyyc.dev
LOC::Macau, China

..UTC+8

samyyc.dev

-- BPM

Sat Mar 30 2024

Notes on an Error While Installing php8.3 on Ubuntu 20.04 LTS

#102

/

samyyc

/

72 words

/

Updated 979 days ago

/

[中文]

Notes on an Error While Installing php8.3 on Ubuntu 20.04 LTS

The situation:

Already added the official PHP repo with sudo add-apt-repository ppa:ondrej/php -y and ran apt update && apt upgrade.

Still got package 'php8.3' has no installation candidate, the package can't be found.

The solution:

Replace the contents of /etc/apt/sources.list.d/ondrejp-php-bionic.list with

deb https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ jammy main