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
我怎樣才能防止這種錯誤?
於是我打開CMD並運行其? – user307709
@ user307709是 –
確定運行並安裝 – user307709