Created
January 11, 2023 00:44
-
-
Save Pictor13/db2905f60fa4caf18270c96034eb1bcd to your computer and use it in GitHub Desktop.
PHP Cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
#### PHP information | |
php -v | |
php -r 'phpinfo();' | |
#### Find user running PHP Cli on a Kubernetes deployment | |
k exec deploy/vergabeplattform app -- php -r '$ot=[];exec("id", $ot);var_export($ot);' | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment