bash how to start php file in webserver code example Example: run php server cd path/to/your/app php -S localhost:8000