2019-11-26 18:59:16 +00:00
|
|
|
# phpquery
|
|
|
|
|
|
|
|
> PHP extension manager for Debian-based OSes.
|
2022-03-21 17:07:48 +00:00
|
|
|
> More information: <https://helpmanual.io/help/phpquery/>.
|
2019-11-26 18:59:16 +00:00
|
|
|
|
|
|
|
- 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`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Check if the JSON extension is enabled for PHP 7.3 with the apache2 SAPI:
|
2019-11-26 18:59:16 +00:00
|
|
|
|
|
|
|
`sudo phpquery -v {{7.3}} -s {{apache2}} -m {{json}}`
|