

































vim /usr/local/nginx/conf/nginx.conf
2 user www www;
45 index index.html index.htm index.php;
65 location ~ \.php$ {
 66 root html;
 67 fastcgi_pass 127.0.0.1:9000;
 68 fastcgi_index index.php;
 69 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
 70 include fastcgi_params;
 71  }
 systemctl restart nginx
 systemctl restart php-fpm


搭建Discuz论坛

验证安装
原文:http://blog.51cto.com/13956204/2177187