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