phpdismod, phpenmod, phpquery: add page (#3610)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
8d87de839c
commit
293d698b85
11
pages/linux/phpdismod.md
Normal file
11
pages/linux/phpdismod.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# phpdismod
|
||||
|
||||
> Disable PHP extensions on Debian-based OSes.
|
||||
|
||||
- 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}}`
|
11
pages/linux/phpenmod.md
Normal file
11
pages/linux/phpenmod.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# phpenmod
|
||||
|
||||
> Enable PHP extensions on Debian-based OSes.
|
||||
|
||||
- Enable the json extension for every SAPI of every PHP version:
|
||||
|
||||
`sudo phpenmod {{json}}`
|
||||
|
||||
- Enable the json extension for PHP 7.3 with the cli SAPI:
|
||||
|
||||
`sudo phpenmod -v {{7.3}} -s {{cli}} {{json}}`
|
19
pages/linux/phpquery.md
Normal file
19
pages/linux/phpquery.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# phpquery
|
||||
|
||||
> PHP extension manager for Debian-based OSes.
|
||||
|
||||
- List available PHP versions:
|
||||
|
||||
`sudo phpquery -V`
|
||||
|
||||
- List available SAPIs for PHP 7.3:
|
||||
|
||||
`sudo phpquery -v {{7.3}} -S`
|
||||
|
||||
- List enabled extensions for PHP 7.3 with the cli SAPI:
|
||||
|
||||
`sudo phpquery -v {{7.3}} -s {{cli}} -M`
|
||||
|
||||
- Check if the json extension is enabled for PHP 7.3 with the apache2 SAPI:
|
||||
|
||||
`sudo phpquery -v {{7.3}} -s {{apache2}} -m {{json}}`
|
Reference in New Issue
Block a user