Remove deprecated slice() and kvzip() methods
[hiphop-php.git] / hphp / doc / command.compiled
bloba987b9c21740d2130791e5ac53427385a9ab024a
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 = -p, --port
36 Which port to start HTTP server on.
38 = --admin-port
40 Which port to start admin server that can take URL commands to perform
41 administration, status queries, stats queries or debugging commands.
43 = --debug-host
45 When running "debug" mode, specifies which HPHPi server to attach to.
47 = --debug-port
49 When running "debug" mode, specifies which HPHPi server port to connect.
51 = --debug-extension
53 When running "debug" mode, specifies which debugger extension PHP file to load.
55 = --debug-cmd
57 When running "debug" mode, specifies a command to execute at startup time.
58 Multiple --debug-cmd can be specified to execute more than one command.
60 = --debug-sandbox
62 When running "debug" mode, specifies which sandbox to attach to for remote
63 debugging. Default is "default".
65 = -f, --file
67 When mode is <b>run</b>, specifies which PHP to execute.
69 = --count
71 How many times to repeat execution of a PHP file.
73 = --no-safe-access-check
75 Whether to allow any file or directory access without security checking.
77 = --extra-header
79 Extra texts to add to front of each line of logging.
81 = --build-id
83 Specifies a version number or an arbitrary string that admin server's build-id
84 can return. Used for version tracking.
86 = --xhprof-level
88 Sets the XHProf run flags.