phpenmod

Enable PHP extensions on Debian-based OSes.

TLDR

Enable the json extension for every SAPI of every PHP version

>_ sudo phpenmod [json]
copy

Enable the json extension for PHP 7.3 with the cli SAPI

>_ sudo phpenmod -v [7.3] -s [cli] [json]
copy

Copied to clipboard
free 100$ digital ocean credit