phpquery:tldr:59dd0
phpquery: List enabled extensions for PHP 7.3 with the cli SAPI.
$ sudo phpquery -v ${7-3} -s ${cli} -M
try on your machine
The command sudo phpquery -v ${7-3} -s ${cli} -M
is invoking the phpquery
command with the following options:
-v ${7-3}
: This option is used to specify the PHP version.${7-3}
uses bash parameter expansion to substitute the value of the variable7
if it is set, otherwise it defaults to3
.-s ${cli}
: This option is used to specify the SAPI (Server Application Programming Interface) type.${cli}
uses the value of the variablecli
.-M
: This option is used to enable the match module, which allows specifying additional filters or queries to be performed.
The sudo
command at the beginning is used to run the phpquery
command with administrative privileges (assuming the user has the necessary permissions).
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.