1

I tried

php -s localhost:4444 WebContent/

But my ubuntu terminal gives

Usage: php [options] [-f] [--] [args...]

1 Answer 1

3

The switch is a capital S and you will need php 5.4 or above.

php -S localhost:4444 WebContent/
2
  • Thank You.. It saved my day.. Now i can monitor errors in php code in the terminal itself instead in eclipse.. Jul 29, 2014 at 8:43
  • My ubuntu has just ph v 5.3 That is my problem.. Now All clear.. Jul 29, 2014 at 9:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .