문제
나는 Laravel을 설치하려고합니다 내 문제는 다음과 같습니다 :
/ localhost / laravel은 그 아래의 폴더와 같은 콘텐츠를 표시합니다.
그러나 나는 LARAVEL의 로고와 "당신이 도착한 텍스트"와 같은 것을 기대하고 있습니다.
오류가 내 PATH.PHP의 뭔가임을 믿습니다.
return array(
/*
|--------------------------------------------------------------------------
| Application Path
|--------------------------------------------------------------------------
|
| Here we just defined the path to the application directory. Most likely
| you will never need to change this value as the default setup should
| work perfectly fine for the vast majority of all our applications.
|
*/
'app' => __DIR__.'/../app',
/*
|--------------------------------------------------------------------------
| Public Path
|--------------------------------------------------------------------------
|
| The public path contains the assets for your web application, such as
| your JavaScript and CSS files, and also contains the primary entry
| point for web requests into these applications from the outside.
|
*/
'public' => __DIR__.'/../public',
/*
|--------------------------------------------------------------------------
| Base Path
|--------------------------------------------------------------------------
|
| The base path is the root of the Laravel installation. Most likely you
| will not need to change this value. But, if for some wild reason it
| is necessary you will do so here, just proceed with some caution.
|
*/
'base' => __DIR__.'/..',
/*
|--------------------------------------------------------------------------
| Storage Path
|--------------------------------------------------------------------------
|
| The storage path is used by Laravel to store cached Blade views, logs
| and other pieces of information. You may modify the path here when
| you want to change the location of this directory for your apps.
|
*/
'storage' => __DIR__.'/../app/storage',
);
.
및 index.php
require __DIR__.'/../bootstrap/autoload.php';
$app = require_once __DIR__.'/../bootstrap/start.php';
$app->run();
. 해결책
당신의 길은 아닙니다.가상 호스트를 작성하고 가상 호스트의 루트를 laravel/public
로 가리 킵니다.
제휴하지 않습니다 StackOverflow