php run local web server code example Example: run php in browser localhost cd my-project php -S localhost:8000