在
出现php页面为空白那么
请尝试将/etc/nginx/conf.d/default中的php设置语言改为
location ~ \.php$ {
include fastcgi_params;
# With php5-fpm:
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}