Start a command prompt (Start button > Run > cmd.exe)
In the window that appears, type the full path to the PHP executable (php.exe) followed by the full path to the script you wish to run as a windows service. ...
Hit the Enter key to execute the command line.
php support | use cookie free domains | Php Support Help Desk