php server command line code example
Example 1: php development server
$ cd ~/public_html
$ php -S localhost:8000
Example 2: server cmd php
php -S localhost:8000
$ cd ~/public_html
$ php -S localhost:8000
php -S localhost:8000