0
我有默認的[www]池啓動和運行沒有問題。我想運行另一個分離另一個網站的流程。PHP5-FPM二級池未啓動(111:連接被拒絕)
我有以下的conf:
/etc/php5/fpm/pool.d/site2.conf
[site2]
user = site2
group = www-data
listen = /var/run/php5-fpm-site2.sock
listen.owner = www-data
listen.group = www-data
/etc/nginx/sites/site.net
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
#
# # With php5-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php5-fpm:
fastcgi_pass unix:/var/run/php5-fpm-site2.sock;
fastcgi_index index.php;
include fastcgi_params;
}
插座/用戶在/ var /運行和所有權/權限確實存在都行,但是當我運行php5服務器只有默認www正在啓動,我得到
2016/04/26 16:30:24 [error] 27908#0: *35895 connect() to unix:/var/run/php5-fpm-site2.sock failed (111: Connection refused) while connecting to upstream,
你覺得呢?