网上有帖子,搜搜吧,应该是php没有解析
http://blog.chensibo.com/i-work- ... build-raspberry-pi/
摘要,具体自己看吧
vi /etc/nginx/sites-availiable/default
location ~ .*\.php(\/.*)*$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params; #开启php解析,使用php-fpm作为Fastcgi通信模块
}