mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 04:43:49 +00:00
Update cheatsheets
This commit is contained in:
25
linux/phpquery
Normal file
25
linux/phpquery
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# phpquery
|
||||
|
||||
> PHP extension manager for Debian-based OSes.
|
||||
> More information: <https://helpmanual.io/help/phpquery/>.
|
||||
|
||||
- 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