laravel file_put_contents():此流不支持排他锁 [英] laravel file_put_contents(): Exclusive locks are not supported for this stream

查看:59
本文介绍了laravel file_put_contents():此流不支持排他锁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将网站上传到laravel进行托管和配置,但无法加载项目.错误如下:

I tried to upload my site to laravel to host and be configured but I couldn't load the project. The error is as follows:

file_put_contents():此流不支持排他锁

file_put_contents(): Exclusive locks are not supported for this stream

我该如何解决?

推荐答案

问题是主机不支持排他锁".我在Ubuntu主机上遇到了Vagrant的问题.然后,您可以按照以下说明进行修复: https://stackoverflow.com/a/35743592/2707570 如果您在远程服务器上遇到问题,则需要联系提供商并询问为什么不支持互斥锁.

The problem is that the host is not supporting "exlusive locks". I had this problem with Vagrant on a Ubuntu host. Then you can fix it like described here: https://stackoverflow.com/a/35743592/2707570 If you have the problem on a remote server you need to contact the provider and ask why exclusive locks are not supported.

这篇关于laravel file_put_contents():此流不支持排他锁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆