启动PHP报错ERROR: [pool www] cannot get uid for user '@php_fpm_user@'
来源:互联网 发布:髋关节置换术全球数据 编辑:程序博客网 时间:2024/04/29 01:13
原文链接:http://blog.csdn.net/loveaborn/article/details/20296411
路径根据自己的环境进行 设置
当编译并安装好php后,用以下命令启动
sudo ./sbin/php-fpm
然后报出这样的错误:
vagrant@precise32 ~/php5 % sudo ./sbin/php-fpm [02-Mar-2014 09:11:26] ERROR: [pool www] cannot get uid for user '@php_fpm_user@' [02-Mar-2014 09:11:26] ERROR: FPM initialization failed
修改php的配制文件php-fpm.conf (在安装目录的etc子目录下)
vagrant@precise32 ~/php5/etc % sudo vi php-fpm.conf
将@php_fpm_user@改为当前系统的用户名,如下图,然后重新启动就ok了
0 0
- 启动PHP报错ERROR: [pool www] cannot get uid for user '@php_fpm_user@'
- 启动PHP报错ERROR: [pool www] cannot get uid for user '@php_fpm_user@'
- mysql启动报错cannot allocate memory for the buffer pool处理
- Cannot get a connection, pool error Timeout waiting for idle object
- Cannot get a connection, pool error Timeout waiting for idle object
- Cannot get a connection, pool error Timeout waiting for idle object
- Cannot get a connection, pool error Timeout waiting for idle object解决方法
- Cannot get a connection, pool error Timeout waiting for idle object
- 如何解决Cannot get a connection, pool error Timeout waiting for idle object
- 数据库连接异常Cannot get a connection, pool error Timeout waiting for idle object
- org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object异常原因
- Spring Hibernate4 连接几次后连接异常, Cannot get a connection, pool error Timeout waiting for idle object
- Fatal error: cannot allocate memory for the buffer pool
- 启动报Cannot get connection for url jdbc xxxx listener could not hand off client co
- 运行yum报错Error: Cannot retrieve metalink for reposit
- 运行yum报错Error: Cannot retrieve metalink for reposit
- yum报错Error: Cannot retrieve metalink for repository: epel
- nodejs express 启动报错:Error: Cannot find module 'xxx'
- UVA - 10891 - Game of Sum (DP)
- value <html><head>java.lang. String connot be converted to jsonobject
- 学习
- Computational Neuroscience
- 第三章二十九题
- 启动PHP报错ERROR: [pool www] cannot get uid for user '@php_fpm_user@'
- 前台请求后台返回的json字符串中含有html标签!
- LearnPythonTheHardWay2ndEdit第0-12节学习笔记
- 二十岁出头的时候上,你一无所有,你拥有一切
- poj2236(并查集)
- CSS实现背景透明,文字不透明,兼容所有浏览器
- IOS nsarray 逆序翻转
- 平时日记
- Android向服务器端发送json数据