Wordpress + Nginx + Discourse 无法正常工作。套接字不可用

Wordpress + Nginx + Discourse 无法正常工作。套接字不可用

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

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

wordpress 也运行在另一个 nginx 反向代理后面,但在 wordpress 上一切似乎都运行良好。

我正在尝试使用 wp-discourse 将其与一个有效的 discourse 实例连接起来。

无论如何,它不起作用,并且以两种方式中断:

1)帖子中不显示评论,并且链接已损坏:

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

2) 没有创建论坛帖子。

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

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"

有什么建议吗?

编辑:我发现了这一点,但与 Ubuntu 无关。它似乎没有帮助。我正在尝试几种修复方法。

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

相关内容