This is a fresh install of current i386 with
php-5.4.30p0 and php-fpm-5.4.30 installed.

The php-fpm is used as a FastCGI in nginx.conf

        location ~ \.php$ {
                fastcgi_pass    127.0.0.1:9000;
                include         fastcgi_params;
        } 

and php-fpm is up and running, but all PHP pages return blank
- only the headers are present in the HTTP answer.
The CLI php works though.

The problem seems to be that the installed fastcgi_params
does not contain SCRIPT_FILENAME; it only contains SCRIPT_NAME.
After adding

        fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;

things started to work. Does it make sense to add this
to the default /etc/fastcgi_params ?

        Jan

Reply via email to