php development server code example
Example 1: php development server
$ cd ~/public_html
$ php -S localhost:8000
Example 2: php simple server
simple built-in php server
$ cd ~/public_html
$ php -S localhost:8000
simple built-in php server