Note: you should use the php server only for testing and not in production. why code example Example: run php server cd path/to/your/app php -S localhost:8000