1
내 Google-fu 기술이 상당히 괜찮은 것으로 생각하지만이 특정 문제에 대한 해결책을 찾을 수 없습니다. 내 로컬 서버의 devove 상자에서 laravel을 실행하고 있습니다. 데비안 민트 머신에서 nginx, PHP 버전 5.4.6-1을 실행하고 있습니다.Laravel 처리되지 않은 예외 정의되지 않은 색인 : core.php의 argv 218
/*
|--------------------------------------------------------------------------
| Set The CLI Options Array
|--------------------------------------------------------------------------
|
| If the current request is from the Artisan command-line interface, we
| will parse the command line arguments and options and set them the
| array of options in the $_SERVER global array for convenience.
|
*/
if (Request::cli())
{
$console = CLI\Command::options($_SERVER['argv']);
list($arguments, $options) = $console;
$options = array_change_key_case($options, CASE_UPPER);
$_SERVER['CLI'] = $options;
}
어떤 제안 거기에 다음과 같이 코드의 특정 조각이 보이는
Unhandled Exception
Message:
Undefined index: argv
Location:
/var/www/laravel/laravel/core.php on line 218
그건 :
내가 내 로컬 상자에 내 브라우저를
, 나는 다음과 같은 오류 메시지가 무엇입니까 나는 이것이 특히 성가신 문제를 해결하는 방법에 대해 어떻게 생각합니까? 감사!
php.ini 설정을 찾으십시오. 'register_argc_argv' – mario
성능을 위해이 설정을'꺼짐 '으로 유지하는 것이 좋습니다. – Tom