php 5.3 @ ubuntu 12.04

chusiang Jul 31st, 2012 32 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [ jonny@thinkpad-t410 ~ ] - 16:46
  2. $ php -S localhost:8080
  3. Usage: php [options] [-f] <file> [--] [args...]
  4.        php [options] -r <code> [--] [args...]
  5.        php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]
  6.        php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]
  7.        php [options] -- [args...]
  8.        php [options] -a
  10.   -a               Run as interactive shell
  11.   -c <path>|<file> Look for php.ini file in this directory
  12.   -n               No php.ini file will be used
  13.   -d foo[=bar]     Define INI entry foo with value 'bar'
  14.   -e               Generate extended information for debugger/profiler
  15.   -f <file>        Parse and execute <file>.
  16.   -h               This help
  17.   -i               PHP information
  18.   -l               Syntax check only (lint)
  19.   -m               Show compiled in modules
  20.   -r <code>        Run PHP <code> without using script tags <?..?>
  21.   -B <begin_code>  Run PHP <begin_code> before processing input lines
  22.   -R <code>        Run PHP <code> for every input line
  23.   -F <file>        Parse and execute <file> for every input line
  24.   -E <end_code>    Run PHP <end_code> after processing all input lines
  25.   -H               Hide any passed arguments from external tools.
  26.   -s               Output HTML syntax highlighted source.
  27.   -v               Version number
  28.   -w               Output source with stripped comments and whitespace.
  29.   -z <file>        Load Zend extension <file>.
  31.   args...          Arguments passed to script. Use -- args when first argument
  32.                    starts with - or script is read from stdin
  34.   --ini            Show configuration file names
  36.   --rf <name>      Show information about function <name>.
  37.   --rc <name>      Show information about class <name>.
  38.   --re <name>      Show information about extension <name>.
  39.   --ri <name>      Show configuration for extension <name>.
  41. # just support php 5.4+
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand