Created
February 17, 2014 18:47
-
-
Save amacgregor/9056531 to your computer and use it in GitHub Desktop.
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
Usage: | |
hhvm [-m <mode>] [<options>] [<arg1>] [<arg2>] ... | |
Options: | |
--help display this message | |
--version display version number | |
--php emulate the standard php command line | |
--compiler-id display the git hash for the compiler | |
--repo-schema display the repository schema id | |
-m [ --mode ] arg (=run) run | debug (d) | server (s) | daemon | | |
replay | translate (t) | |
-c [ --config ] arg load specified config file | |
-v [ --config-value ] arg individual configuration string in a | |
format of name=value, where name can be | |
any valid configuration for a config | |
file | |
-p [ --port ] arg (=-1) start an HTTP server at specified port | |
--port-fd arg (=-1) use specified fd instead of creating a | |
socket | |
--ssl-port-fd arg (=-1) use specified fd for SSL instead of | |
creating a socket | |
--admin-port arg (=-1) start admin listener at specified port | |
--debug-config arg load specified debugger config file | |
-h [ --debug-host ] [=arg(=localhost)] | |
connect to debugger server at specified | |
address | |
--debug-port arg (=-1) connect to debugger server at specified | |
port | |
--debug-extension arg PHP file that extends y command | |
--debug-cmd arg executes this debugger command and | |
returns its output in stdout | |
--debug-sandbox arg (=default) initial sandbox to attach to when | |
debugger is started | |
-u [ --user ] arg run server under this user account | |
-f [ --file ] arg executing specified file | |
-l [ --lint ] arg lint specified file | |
-w [ --show ] arg output specified file and do nothing | |
else | |
--parse arg parse specified file and dump the AST | |
--temp-file file specified is temporary and removed | |
after execution | |
--count arg (=1) how many times to repeat execution | |
--no-safe-access-check arg (=0) whether to ignore safe file access | |
check | |
--arg arg arguments | |
--extra-header arg extra-header to add to log lines | |
--build-id arg unique identifier of compiled server | |
code | |
--instance-id arg unique identifier of server instance | |
--xhprof-flags arg (=0) Set XHProf flags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment