WordPress的+ Nginx的+话语不工作。 sockets不可用

我在这个docker容器的最新ubuntu上运行wordpress 4.0:

https://github.com/eugeneware/docker-wordpress-nginx

wordpress也运行在另一个nginx反向代理之后,但在wordpress上一切似乎都正常。

我试图用wp-discourse把它和一个工作的话语实例联系起来。

无论如何,它不工作,它有两种方式:

1)评论没有显示在post中,也链接被打破:

http://it.servermeta.net/ciao-mi-chiamo-gio-ho-7-figli-una-pentola/

2)论坛post没有创build。

我发现的唯一有意义的错误是:

2014/09/17 22:57:42 [error] 428#0: *1038 FastCGI sent in stderr: "PHP message: PHP Warning: First parameter must either be an object or the name of an existing class in /usr/share/nginx/www/wp-content/plugins/wp-discourse-master/wp-discourse.php on line 410 PHP message: PHP Warning: file_get_contents(/wordpress.json?best=5&min_trust_level=1&min_score=30&min_replies=5&bypass_trust_level_score=50): failed to open stream: No such file or directory in /usr/share/nginx/www/wp-content/plugins/wp-discourse-master/wp-discourse.php on line 195" while reading upstream, client: 172.17.42.1, server: localhost, request: "GET /ciao-mi-chiamo-gio-ho-7-figli-una-pentola/ HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "it.servermeta.net" 

任何build议?

编辑:我发现这个,但与Ubuntu没有关系。 这似乎没有帮助。 我正在尝试几个修复程序。

http://www.nginxtips.com/php-fpm-connect-to-unixtmpphp5-fpm-sock-failed-2-no-such-file-or-directory/