System Grab Bag

View all TLDR pages from Linux (or from all pages)

phpenmod

Enable PHP extensions on Debian-based OSes. More information: https://salsa.debian.org/php-team/php-defaults.
  • Enable the JSON extension for every SAPI of every PHP version:
    sudo phpenmod {{json}}
  • Enable the JSON extension for PHP 7.3 with the cli SAPI:
    sudo phpenmod -v {{7.3}} -s {{cli}} {{json}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.