php app development server code example Example: php development server $ cd ~/public_html $ php -S localhost:8000