PHPCI无法写入'config.yml'

PHPCI无法写入'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?

我已经安装了PHPCI。 每件事都完美安装。 但是现在当我探究设置时,会显示一个错误,如下所示: p>

  PHPCI无法写入您的config.yml文件,设置可能无法正确保存,直到 纠正。  
  code>  pre> 
 
 

有人可以通过让我知道这个问题如何得到纠正来帮助我吗? p> div>

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