[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;
>
>to
>
> listen 80 default;
Thanks Brian, but it makes no difference.
At this point...
1. http://192.168.0.8/index.php does display phpinfo(); if I change
set "fastcgi_param SCRIPT_FILENAME
/var/www/nginx-default$fastcgi_script_name;"
2. http://192.168.0.8/ = 403.
[error] 1574#0: *3 directory index of "/var/www/" is forbidden,
client: 192.168.0.1, server: localhost, request: "GET / HTTP/1.1",
host: "192.168.0.8"
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:
http://pastebin.com/LYvnMu7X
FWIW, I followed this document:
"Installing Nginx With PHP 5.3 And PHP-FPM On Ubuntu Lucid Lynx
(10.04) Without Compiling Anything"
www.howtoforge.com/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