0

I've MAMP installed and am currently watching some Laravel tutorials, however, when I got to the part of making controllers with artisan, I get this error when I type php artisan make:controller.

Bobimaru
  • 3,460
  • 3
  • 14
  • 37
  • 'php' is not recognized as an internal or external command, operable program or batch file – Bobimaru Jan 22 '18 at 17:16
  • try add php to environmental variable – Kuba Zabielski Jan 22 '18 at 17:21
  • Are you on Windows or Mac? That looks like a Windows error in which you need to add an environmental variable to the PHP install https://stackoverflow.com/questions/31291317/php-is-not-recognized-as-an-internal-or-external-command-in-command-prompt – Chris Morris Jan 22 '18 at 17:22

0 Answers0