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 update
sudo apt-get install php-common
- Raspbian
-
apt-get install php-common
- Dockerfile
- dockerfile.run/phpdismod
- Docker
-
docker run cmd.cat/phpdismod phpdismod
powered 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