PHPCI无法写入'config.yml' [英] PHPCI Cannot Write to 'config.yml'

查看:276
本文介绍了PHPCI无法写入'config.yml'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已安装PHPCI。每件事都完美安装。但现在当我探索设置,显示如下所示的错误:

  PHPCI无法写入您的config.yml文件,设置可能无法正确保存,直到该问题得到解决。 

有人可以帮我,让我知道这个问题如何得到纠正?

$



这是因为config.yml被创建,并且分配给 root 用户。



只需更改拥有此文件的用户即可解决问题-data因为vagrant机器)



chown www-data:www-data config.yml



尊敬


I've installed PHPCI. Every thing is perfectly installed. But now when I explores to the setting, an error is displayed as given below:

PHPCI cannot write to your config.yml file, settings may not be saved properly until this is rectified. 

Can someone help me by let me know that how this problem cab get corrected?

解决方案

I had the same problem.

It was because config.yml was created and assigned to root user.

Just change the user owning this file to resolve the issue (in my case was www-data because of the vagrant machine)

chown www-data:www-data config.yml

Regards

这篇关于PHPCI无法写入'config.yml'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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