Enable the JSON extension for every SAPI of every PHP version

phpenmod

  • Enable PHP extensions on Debian-based OSes.
    More information: <https://salsa.debian.org/php-team/php-defaults>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sudo phpenmod {{json}}

click the source code to copy install phpenmod on any operating system with command-not-found.com