Compiled Program's Command Line Options

= --help Displays the list of command line options with short descriptions. = -m, --mode Specifies one of these execution modes, run: (default) directly executes the program from command line. debug: starts debugger. server: starts an HTTP server from command line. daemon: starts an HTTP server and runs it as a daemon. replay: replays a previously recorded HTTP request file. translate: translates a hex-encoded stacktrace. = -a, --interactive Starts hhvm Read-Eval-Print-Loop (REPL). Works just like an alias for `hhvm --mode debug`. = -c, --config=FILE This reads in a configuration file to set options. FILE should be in HDF format. If no file is specified, the one in /etc/hhvm/config.hdf will be used if it exists. = -v, --config-value=STRING This sets a configuration option on the command line. STRING should be a line of HDF, e.g. Section.Name=Value. The options settable are the same as those set by --config. = -d, --define=STRING This sets an ini option on the command line. STRING should be a line in the format expected by ini, e.g. hhvm.option=value. The options settable are the same as those set by --config, when providing an .ini file. = -p, --port Which port to start HTTP server on. = --admin-port Which port to start admin server that can take URL commands to perform administration, status queries, stats queries or debugging commands. = --debug-host When running "debug" mode, specifies which HPHPi server to attach to. = --debug-port When running "debug" mode, specifies which HPHPi server port to connect. = --debug-extension When running "debug" mode, specifies which debugger extension PHP file to load. = --debug-cmd When running "debug" mode, specifies a command to execute at startup time. Multiple --debug-cmd can be specified to execute more than one command. = --debug-sandbox When running "debug" mode, specifies which sandbox to attach to for remote debugging. Default is "default". = -f, --file When mode is run, specifies which PHP to execute. = --count How many times to repeat execution of a PHP file. = --no-safe-access-check Whether to allow any file or directory access without security checking. = --extra-header Extra texts to add to front of each line of logging. = --build-id Specifies a version number or an arbitrary string that admin server's build-id can return. Used for version tracking.