您的位置:首页 > 编程语言 > PHP开发

ubuntu 12.04安装php的权限配制

2016-03-07 11:25 441 查看
按照网上的说明安装了php服务器,测试时却无法通过。

经过搜索,发现是由于权限问题导致,记录如下:

If you open your /etc/php5/fpm/pool.d/www.conf file, you'll notice that fastcgi is listening to /var/run/php5-fpm.sock. You'll need to grant your webserver privileges to the unix socket by uncommenting the following lines:

listen.owner = www-data
listen.group = www-data
listen.mode = 0660
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: