Собственно проблема : нгинкс нормально отдает статические файлы, генерирует 404 ошибку. При попытке зайти на index.php - получаю в браузере сообщение, что страница недоступа, тоесть 500 ошибка сервером не генерируется. Справедливости ради скажу что до того как захотел перенести папку вебсервера в home-каталог все работало.
Конфиги :
 www.conf (все закоментированое и не изменявшееся удалил)
; Start a new pool named 'www'.
[www]
listen = 127.0.0.1:9000
listen.allowed_clients = 127.0.0.1
listen.owner = 007
listen.group = 007
user = 007
group = 007
chroot = /home/007/www/localhost/html
catch_workers_output = yes
 nginx.conf
user              007;
worker_processes  1;
error_log  /var/log/nginx/error.log;
#error_log  /var/log/nginx/error.log  notice;
#error_log  /var/log/nginx/error.log  info;
pid        /var/run/nginx.pid;
events {
    worker_connections  1024;
}
http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;
    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';
    access_log  /var/log/nginx/access.log  main;
    sendfile        on;
    #tcp_nopush     on;
    #keepalive_timeout  0;
    keepalive_timeout  65;
    #gzip  on;
    
    # Load config files from the /etc/nginx/conf.d directory
    # The default server is in conf.d/default.conf
    include /etc/nginx/conf.d/*.conf;
}
default.conf
server {
    listen 80;
    server_name  _;
    access_log /home/007/www/localhost/logs/access.log;
    error_log /home/007/www/localhost/logs/error.log;
    location / {
        root /home/007/www/localhost/html;
        index  index.html index.htm index.php;
    }
    error_page  404              /404.html;
    location = /404.html {
        root   /home/007/www/localhost/err;
    }
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /home/007/www/localhost/err;
    }
    location ~ \.php$ {
	fastcgi_pass   127.0.0.1:9000;
	fastcgi_index  index.php;
	fastcgi_param  SCRIPT_FILENAME  /home/007/www/localhost/html$fastcgi_script_name;
	include        fastcgi_params;
    }
}


