ubuntu 14.04 xamp server

时间:2015-11-19 08:38:22

标签: php laravel

我在/opt/lamp/htdocs/lara文件夹中是空的,并从Github下载克隆了master Laravel并执行

sudo composer install 

然后我可以访问localhost/lara但它会关闭lara目录。当我继续localhost/lara/public时,它会出现错误

Warning: require(/opt/lampp/htdocs/lara/bootstrap/../vendor/autoload.php):
     failed to open stream: No such file or directory in /opt/lampp/htdocs/lara/
bootstrap/autoload.php on line 17
Fatal error: require(): Failed opening required '/opt/lampp/htdocs/lara/bootstrap/../
vendor/autoload.php' (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/lara/
bootstrap/autoload.php on line 17

我怎么能解决这个问题? 运行composer安装后,错误更改为

  

糟糕,看起来出了问题。

并浏览说内部服务器错误

0 个答案:

没有答案