0

I can start php serve on CMD

see image

but in PhpStorm I got this error:

C:\Users\ferdi\www\blog>php artisan serve
'php' is not recognized as an internal or external command, operable program or batch file.

I try to solve other way in "System Variables" but I cannot edit. Because no options edit or add.

see image

How can I start 'php serve' on PhpStorm ?

LazyOne
  • 137,403
  • 37
  • 338
  • 342
  • You'll need to install php. – castis Feb 26 '18 at 21:10
  • This seems basic problem, ... Here are 3 similar questions: [link1](https://stackoverflow.com/questions/31291317/php-is-not-recognized-as-an-internal-or-external-command-in-command-prompt) [link2](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206344809--PHP-is-Not-Recognised-in-Command-Line-Why-) [link3](https://stackoverflow.com/questions/22974476/command-php-not-recognized-but-it-is-registered-in-windows-path) – Penguin74 Feb 26 '18 at 21:33
  • yes, if you're writing php code, you'll probably want to install php. – castis Feb 26 '18 at 21:50

0 Answers0