simple http server php code example Example 1: php simple server php -S localhost:8000 Example 2: php simple server simple built-in php server