白页与Nginx Php-fpm和没有错误记录


White page with Nginx Php-fpm and no errors logged

我有一个服务器运行与archlinux, nginx和Php-fpm,当我试图加载一个页面,我得到的是一个白页。我试过在网上找到的多种修复方法,但没有一个对我有效。

这是我的nginx配置文件:

server {
listen  80; 
root /home/www-data/websites/subdomain.domain.net;
index index.php index.html index.htm;
server_name subdomain.domain.net;
access_log /root/logs/nginx/subdomain.access.log;
error_log /root/logs/nginx/subdomain.error.log;
location ~ '.php$ {
            fastcgi_pass   unix:/var/run/php-fpm/php-fpm.sock;
            fastcgi_index index.php;
            fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
                  }
location ~* ' (gif|jpg|png) {
            expires 30d;
                            }
location ~ ^/favicons/.*$ {
            try_files $uri /data/$uri;
                          }
location / {
            index index.php index.html index.htm;
            try_files $uri /public/$uri /index.php$is_args$args;
           }
}

nginx &Subdomain.error.log为空

该文件位于/home/www-data/websites/subdomain.domain.net/index.php目录下,包含以下内容:

<?php phpinfo() ?>

任何帮助都将是感激的:)

我安装了一个新的debian安装,现在一切正常