0

I use win10 system.

I have this code in web.php.

Route::get('/foo', function () {
    $exitCode = Artisan::call('migrate');
});

when i visit /foo .I get this error page. and when i run this command in cmd.It's working. Please help me.

enter image description here

Community
  • 1
  • 1
TonyCat
  • 111
  • 1
  • 5

0 Answers0