[newbie] Two configuration issues with PHP5-FPM

Gilles Ganault gilles.ganault at free.fr
Fri Jul 16 04:13:02 MSD 2010

On Thu, 15 Jul 2010 14:01:43 -0400, "brianmercer"
<nginx-forum at nginx.us> wrote:
>Try changing 
>    listen   80;
>    listen   80 default;

Thanks Brian, but it makes no difference.

At this point...

1. does display phpinfo(); if I change
set "fastcgi_param  SCRIPT_FILENAME

2. = 403.
[error] 1574#0: *3 directory index of "/var/www/" is forbidden,
client:, server: localhost, request: "GET / HTTP/1.1",
host: ""

I tried adding "autoindex on;" to the "server" part, and then to the "
location /" part, to no avail.

The three config files can be found here:

FWIW, I followed this document:
"Installing Nginx With PHP 5.3 And PHP-FPM On Ubuntu Lucid Lynx
(10.04) Without Compiling Anything"

Thank you.

More information about the nginx mailing list