PHPCI Cannot Write to 'config.yml'

2019-09-01 16:02发布

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?

1条回答
该账号已被封号
2楼-- · 2019-09-01 16:55

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

查看更多
登录 后发表回答