1 <h2>Compiled Program's Command Line Options</h2>
5 Displays the list of command line options with short descriptions.
9 Specifies one of these execution modes,
11 run: (default) directly executes the program from command line.
12 debug: starts debugger.
13 server: starts an HTTP server from command line.
14 daemon: starts an HTTP server and runs it as a daemon.
15 replay: replays a previously recorded HTTP request file.
16 translate: translates a hex-encoded stacktrace.
20 Starts hhvm Read-Eval-Print-Loop (REPL). Works just like an alias for `hhvm --mode debug`.
24 This reads in a configuration file to set options. FILE should be in HDF
25 format. If no file is specified, the one in /etc/hhvm/config.hdf will be used
28 = -v, --config-value=STRING
30 This sets a configuration option on the command line. STRING should be
31 a line of HDF, e.g. Section.Name=Value. The options settable are the same
32 as those set by --config.
36 This sets an ini option on the command line. STRING should be a line in the
37 format expected by ini, e.g. hhvm.option=value. The options settable are the
38 same as those set by --config, when providing an .ini file.
42 Which port to start HTTP server on.
46 Which port to start admin server that can take URL commands to perform
47 administration, status queries, stats queries or debugging commands.
51 When running "debug" mode, specifies which HPHPi server to attach to.
55 When running "debug" mode, specifies which HPHPi server port to connect.
59 When running "debug" mode, specifies which debugger extension PHP file to load.
63 When running "debug" mode, specifies a command to execute at startup time.
64 Multiple --debug-cmd can be specified to execute more than one command.
68 When running "debug" mode, specifies which sandbox to attach to for remote
69 debugging. Default is "default".
73 When mode is <b>run</b>, specifies which PHP to execute.
77 How many times to repeat execution of a PHP file.
79 = --no-safe-access-check
81 Whether to allow any file or directory access without security checking.
85 Extra texts to add to front of each line of logging.
89 Specifies a version number or an arbitrary string that admin server's build-id
90 can return. Used for version tracking.