mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 20:42:23 +03:00
12 lines
258 B
Markdown
12 lines
258 B
Markdown
|
# 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}}`
|