mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 16:46:08 +00:00
Update cheatsheets
This commit is contained in:
17
linux/phpdismod
Normal file
17
linux/phpdismod
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user