2019-11-26 18:59:16 +00:00
|
|
|
# phpdismod
|
|
|
|
|
|
|
|
> Disable PHP extensions on Debian-based OSes.
|
2021-11-02 16:42:31 +00:00
|
|
|
> More information: <https://salsa.debian.org/php-team/php-defaults>.
|
2019-11-26 18:59:16 +00:00
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Disable the JSON extension for every SAPI of every PHP version:
|
2019-11-26 18:59:16 +00:00
|
|
|
|
|
|
|
`sudo phpdismod {{json}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Disable the JSON extension for PHP 7.3 with the cli SAPI:
|
2019-11-26 18:59:16 +00:00
|
|
|
|
|
|
|
`sudo phpdismod -v {{7.3}} -s {{cli}} {{json}}`
|