Fix load-elim bug for branching instructions going to the same block
[hiphop-php.git] / hphp / doc / command.compiled
blob03e772feb9c466a6a5db9fdd2e60fecf31acdbe5
1 <h2>Compiled Program's Command Line Options</h2>
3 = --help
5 Displays the list of command line options with short descriptions.
7 = -m, --mode
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.
18 = -a, --interactive
20 Starts hhvm Read-Eval-Print-Loop (REPL). Works just like an alias for `hhvm --mode debug`.
22 = -c, --config=FILE
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
26 if it exists.
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.
34 = -d, --define=STRING
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.
40 = -p, --port
42 Which port to start HTTP server on.
44 = --admin-port
46 Which port to start admin server that can take URL commands to perform
47 administration, status queries, stats queries or debugging commands.
49 = --debug-host
51 When running "debug" mode, specifies which HPHPi server to attach to.
53 = --debug-port
55 When running "debug" mode, specifies which HPHPi server port to connect.
57 = --debug-extension
59 When running "debug" mode, specifies which debugger extension PHP file to load.
61 = --debug-cmd
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.
66 = --debug-sandbox
68 When running "debug" mode, specifies which sandbox to attach to for remote
69 debugging. Default is "default".
71 = -f, --file
73 When mode is <b>run</b>, specifies which PHP to execute.
75 = --count
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.
83 = --extra-header
85 Extra texts to add to front of each line of logging.
87 = --build-id
89 Specifies a version number or an arbitrary string that admin server's build-id
90 can return. Used for version tracking.
92 = --xhprof-level
94 Sets the XHProf run flags.