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...