2015-12-14 44 views
1

我使用位於驅動器E的WAMP服務器:我嘗試首次安裝Laravel第一次安裝Laravel時如何解決錯誤?

首先我安裝了Composer,然後我安裝了Laravel。然後,我跑到我的服務器位於http://localhost/laravel/public/,但它給了這個錯誤:

Warning: require(E:\wamp\www\laravel\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in E:\wamp\www\laravel\bootstrap\autoload.php on line 17 
Call Stack 
# Time Memory Function Location 
1 0.0002 241656 {main}() ..\index.php:0 
2 0.0003 244568 require('E:\wamp\www\laravel\bootstrap\autoload.php') ..\index.php:22 

(!) Fatal error: require(): Failed opening required 'E:\wamp\www\laravel\bootstrap/../vendor/autoload.php' (include_path='.;C:\php\pear') in E:\wamp\www\laravel\bootstrap\autoload.php on line 17 
Call Stack 
# Time Memory Function Location 
1 0.0002 241656 {main}() ..\index.php:0 
2 0.0003 244568 require('E:\wamp\www\laravel\bootstrap\autoload.php') ..\index.php:22 

我怎樣才能防止這種錯誤?

回答