Hello,
Like read in this page in need to install JSON with Drupal 9.x and PHP 8.0
Here is what I have already installed, or not:
root@machine:~# dpkg -l *-json* | grep ii
ii php5.6-json 5.6.40-57+ubuntu20.04.1+deb.sury.org+1 amd64 JSON module for PHP
ii php7.0-json 7.0.33-57+ubuntu20.04.1+deb.sury.org+1 amd64 JSON module for PHP
ii php7.1-json 7.1.33-44+ubuntu20.04.1+deb.sury.org+1 amd64 JSON module for PHP
ii php7.2-json 7.2.34-28+ubuntu20.04.1+deb.sury.org+1 amd64 JSON module for PHP
ii php7.3-json 7.3.33-1+ubuntu20.04.1+deb.sury.org+1 amd64 JSON module for PHP
ii php7.4-json 7.4.27-1+ubuntu20.04.1+deb.sury.org+1 amd64 JSON module for PHP
root@machine:~# apt install php8.0-json
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php8.0-json is a virtual package provided by:
php8.0-phpdbg 8.0.15-1+ubuntu20.04.1+deb.sury.org+1
php8.0-fpm 8.0.15-1+ubuntu20.04.1+deb.sury.org+1
php8.0-cli 8.0.15-1+ubuntu20.04.1+deb.sury.org+1
php8.0-cgi 8.0.15-1+ubuntu20.04.1+deb.sury.org+1
libphp8.0-embed 8.0.15-1+ubuntu20.04.1+deb.sury.org+1
libapache2-mod-php8.0 8.0.15-1+ubuntu20.04.1+deb.sury.org+1
You should explicitly select one to install.
E: Package 'php8.0-json' has no installation candidate
So what I shloud do to install it? I don’t whant to break something (HestiaCP default install on a Ubuntu 20.04.x)
Thanks