1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:02:10 +02:00
tldr/pages/linux/phpdismod.md
2021-11-02 17:42:31 +01:00

12 lines
334 B
Markdown

# phpdismod
> Disable PHP extensions on Debian-based OSes.
> More information: <https://salsa.debian.org/php-team/php-defaults>.
- 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}}`