Home
Position: 主页>apache>

Nginx help

Time:2010-01-20 05:22soucre:未知 作者:admin click:clicks
Hi... I installed nginx in to fedora core 4 to host few php pages. it is in /usr/local/nginx config file look like: location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /usr/local/nginx/htm

   Hi...
I installed nginx in to fedora core 4 to host few php pages.

it is in /usr/local/nginx

config file look like:

location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/local/nginx/html/$fastcgi_script_name;
include fastcgi_params;
}

So basically my php file is in .usr/local/nginx/html
But in browser it says file is unavailable.(all files even index.php)

What may be error?
I have started my server.
and php file gets compiled in terminal.

And sorry for posting it here.. i did not find any other topic to post.

Regards
Dheeraj Joshi ||| Nobody has posted any comments.
Anyway i got the solution..

I am planing to post installation steps here since nobody has commented.

How is that? ||| Syntactically it is correct....

It is working fine now...

------line----------------------------
Recommend
Hottest