tldr/pages/linux/phpdismod.md

12 lines
264 B
Markdown
Raw Normal View History

# phpdismod
> Disable PHP extensions on Debian-based OSes.
- Disable the json extension for every SAPI of every PHP version:
`sudo phpdismod {{json}}`
- Disable the json extension for PHP 7.3 with the cli SAPI:
`sudo phpdismod -v {{7.3}} -s {{cli}} {{json}}`