how to run server php for terminal mac code example Example: run php server mac php -S localhost:9000