run php file in browser code example Example 1: start php file <?php //start ?> //stop Example 2: run a php site php -S 127.0.0.1:8000