when I need to open localhost site https://localhost:8000 for my PHP code. So I wrote this line in my VS code terminal
php -S localhost:8000
But I am getting error.
copied and pasted
php : The term 'php' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
+ php -S localhost:8000
+ ~~~
+ CategoryInfo : ObjectNotFound: (php:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException