我第一次将我的Laravel应用程序部署到AWS ElasticBeanstalk后出现以下错误。健康检查是绿色的。我按照AWS文档的指示更改了环境和数据库设置以匹配AWS上的设置。
<connectionStrings>
<add name="registerationConnectionString"
connectionString="Data Source=YourServerName;
Initial Catalog=YourDatabaseName;
Persist Security Info=True;
User ID=yourUserId;
Password=yourPassword" />
</connectionStrings>
这是第109行:
ErrorException in Filesystem.php line 109:
file_put_contents(/var/app/current/myapp-master/bootstrap/cache/services.php): failed to open stream: No such file or directory
答案 0 :(得分:0)
尝试创建/bootstrap/cache
目录并为其设置正确的权限:
chmod 777 -R bootstrap/cache