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.
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.