Laravel 5无法打开所需的引导程序../vendor/autoload.php [英] Laravel 5 Failed opening required bootstrap/../vendor/autoload.php
本文介绍了Laravel 5无法打开所需的引导程序../vendor/autoload.php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我最近通过作曲家安装了Laravel 5.我尝试使用artisan创建新的控制器,但出现以下错误:
I have recently installed Laravel 5 via composer. I tried creating a new controller using artisan and I get the following error:
bootstrap/../vendor/autoload.php.无法打开流:没有这样的文件或目录. 供应商"文件夹不存在.
bootstrap/../vendor/autoload.php. Failed to open stream: No such file or directory. The "vendor" folder does not exist.
我想念什么吗?
推荐答案
结果是我没有在php.ini中启用openssl,所以当我用composer创建新项目时,它是从源代码安装的.我改变了并运行
Turns out I didn't enable openssl in my php.ini so when I created my new project with composer it was installed from source. I changed that and ran
composer update
现在已创建供应商文件夹.
now the vendor folder was created.
这篇关于Laravel 5无法打开所需的引导程序../vendor/autoload.php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文