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