E
E
Eugene2017-04-29 23:31:36
cmd/bat
Eugene, 2017-04-29 23:31:36

How to fix "php is not an internal or external command" error?

Hello!
I just decided to learn Laravel, when I ran into a problem where I'm trying to create a controller using the terminal in PHPStorm. When I enter the command php artisian make:controller PostController --resource, I get an error that "php" is not an internal or external command, operable program, or batch file.
Thanks in advance for your replies.
658b4b23c89d4eb883f06e7a15dac125.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Kyznetsov, 2017-05-04
@360157

you need to add php to the patch directory of your PS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question