snippetbashTip
phpquery — PHP extension manager for Debian-based OSes. More information: <https://code.google.com/archive/p/ph
Viewed 0 times
commandphpquerydebiancliphpextensionformanager
linux
Problem
How to use the
phpquery command: PHP extension manager for Debian-based OSes. More information: <https://code.google.com/archive/p/phpquery/wikis/CommandLineInterface.wiki>.Solution
phpquery — PHP extension manager for Debian-based OSes. More information: <https://code.google.com/archive/p/phpquery/wikis/CommandLineInterface.wiki>.List available PHP versions:
sudo phpquery -VList available SAPIs for PHP 7.3:
sudo phpquery -v {{7.3}} -SList enabled extensions for PHP 7.3 with the cli SAPI:
sudo phpquery -v {{7.3}} -s {{cli}} -MCheck if the JSON extension is enabled for PHP 7.3 with the apache2 SAPI:
sudo phpquery -v {{7.3}} -s {{apache2}} -m {{json}}Code Snippets
List available PHP versions
sudo phpquery -VList available SAPIs for PHP 7.3
sudo phpquery -v {{7.3}} -SList enabled extensions for PHP 7.3 with the cli SAPI
sudo phpquery -v {{7.3}} -s {{cli}} -MCheck if the JSON extension is enabled for PHP 7.3 with the apache2 SAPI
sudo phpquery -v {{7.3}} -s {{apache2}} -m {{json}}Context
tldr-pages: linux/phpquery
Revisions (0)
No revisions yet.