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