红联Linux门户
Linux帮助

ubuntu 12.04安装php的权限配制

发布时间:2016-03-07 16:06:59来源:linux网站作者:叶子椰汁

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


本文永久更新地址:http://www.linuxdiyf.com/linux/18697.html