start local server php code example Example: start php server cd path/to/your/app/script php -S localhost:1234