run php server on windows by command line code example
Example 1: start server cmd php
php -S localhost:8000
Example 2: how to run php on windows
If php installed - in cmd > php filename.php
Follow the steps if php not installed, https://www.sitepoint.com/how-to-install-php-on-windows/