ubuntu1204安装php的权限配制

按照网上的说明安装了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

以上就介绍了ubuntu 1204安装php的权限配制,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。

Posted in 未分类

发表评论