Disable the JSON extension for PHP 7.3 with the cli SAPI

phpdismod

  • Disable 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 phpdismod -v {{7.3}} -s {{cli}} {{json}}

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