phpdismod
Disable PHP extensions on Debian-based OSes. More information: <https://salsa.debian.org/php-team/php-defaults>.
Install
- All systems
-
curl cmd.cat/phpdismod.sh
- Debian
-
apt-get install php-common - Ubuntu
-
apt-get install php-common -
Alpine
-
apk add php-common - Kali Linux
-
apt-get install php-common - CentOS
-
yum install php-common - Fedora
-
dnf install php-common - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install php-common - Raspbian
-
apt-get install php-common - Docker
-
docker run cmd.cat/phpdismod phpdismodpowered by Commando
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
© tl;dr; authors and contributors