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.(al l 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
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.(al l 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
Comment