我在/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安装后,错误更改为
糟糕,看起来出了问题。
并浏览说内部服务器错误