在我运行这两个命令之前,Nginx 工作正常:
- sudo apt-get install php-pear php5-dev
- sudo pecl 安装 memcache-3.0.8
我想将 memcache 更新到最新版本。现在我有一个问题:
*21771 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "netcorner"
我杀死了 php-fpm,但现在当我尝试启动它时,我得到:
ALERT: [pool www] user has not been defined
ERROR: failed to post process the configuration
ERROR: FPM initialization failed
编辑:问题是实际的,第一次重新启动有帮助,但是当我第二次重新启动服务器时,我无法运行 php-fpm。