start http server from php file code example Example: php development server $ cd ~/public_html $ php -S localhost:8000