serve php file
snippet in php

run php server

user4690

cd path/to/your/app
php -S localhost:8000

serve php file

user6190

Open Terminal
php -S localhost:8000