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
经过搜索,发现是由于权限问题导致,记录如下:
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
相关文章推荐
- Zend Framework教程之响应对象的封装Zend_Controller_Response实例详解
- phpStorm mac下的快捷键
- 黑马程序猿 IO流 ByteArrayInputStream与ByteArrayOutputStream
- Zend Framework教程之请求对象的封装Zend_Controller_Request实例详解
- PhpStorm 快捷键大全
- PHP非线程安全与线程安全版本的选择技巧
- 关于WeiPHP
- 【Yii框架系列一】Yii中CDbCriteria常用总结
- selectpicker用法
- opencart源码解析之 index.php
- Zend Framework教程之动作的基类Zend_Controller_Action详解
- php如何判断常量是否被定义?
- 关于PHP连接处理中set_time_limit()、connection_status()和ignore_user_abort()深入解析
- Zend Framework教程之分发器Zend_Controller_Dispatcher用法详解
- php去掉字符串的最后一个字符附substr()的用法
- phpcms 换域名
- SAP FTP上传出现的几个小问题归纳
- vc与php
- Thinkphp常用时间戳转换为多少分钟前发布函数
- php 使用move_uploaded_file()遇到的Permission denied问题