您好,欢迎访问一九零五行业门户网

WordPress 3.8 nginx 502 Bad Gateway

服务器配置
cpu型号 [8核] intel(r) xeon(r) cpu e5620 @ 2.40ghz | 频率:2394.021 | 二级缓存:12288 kb | bogomips:4788.04 ×8
内存4g
硬盘3个300g 15000转做的是raid 5
wordpress 3.8
centos 5.7
nginx/1.2.7
php5.2.17p1
mysql 5.1.60
nginx php mysql这几个参数应该怎么配置
回复内容: 服务器配置
cpu型号 [8核] intel(r) xeon(r) cpu e5620 @ 2.40ghz | 频率:2394.021 | 二级缓存:12288 kb | bogomips:4788.04 ×8
内存4g
硬盘3个300g 15000转做的是raid 5
wordpress 3.8
centos 5.7
nginx/1.2.7
php5.2.17p1
mysql 5.1.60
nginx php mysql这几个参数应该怎么配置
502 就是说 nginx 无法连接到 php-fpm, 请看 php-fpm 和 nginx 的日志。
这个还要配置啊,直接看说明文档就可以。请搜索:nmap。
给你的服务器配置一遍lnmp环境,wordpress够用了。如果一定要自己去配置nginx,推荐看看这篇说明
http://wiki.nginx.org/wordpress
另外,wp还有个插件,你可以了解一下
http://wordpress.org/plugins/nginx-helper/
其它类似信息

推荐信息