In my Windows terminal (cmd), the php artisan serve command works fine But when I type it at Visual Studio Code terminal, it gives me the error below:
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