Package 'php8.0-json' has no installation candidate

I’m getting this error when trying to install PHP 8 and its extensions.

Command used:
sudo apt install php8.0-bcmath php8.0-gmp php8.0-fileinfo php8.0-gd php8.0-json php8.0-mbstring php8.0-pdo php8.0-xml php8.0-curl php8.0-zip php8.0-gmp php8.0-mysqlnd

Any ideas?

Thanks in advance.
AngryWarrior

1 Like