search

Home  >  Q&A  >  body text

How to use artisan command in laravel?

But like thisphp artisan listWhy not?

漂亮男人漂亮男人2836 days ago421

reply all(3)I'll reply

  • PHPz

    PHPz2017-05-16 16:48:39

    Add the installation directory path of php.exe to your environment variables, then close the cmd window, reopen the cmd window, and then execute it and it will be OK

    http://blog.csdn.net/zzz_7811...

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-16 16:48:39

    Already answered upstairs, please understand the problem clearly, it is that your php command cannot be used, it has nothing to do with laravel

    reply
    0
  • 高洛峰

    高洛峰2017-05-16 16:48:39

    Since you are using a Windows system, you need to add php.exe to the path

    reply
    0
  • Cancelreply