i followed your guide at
http://www.howtoforge.com/installing...-on-centos-6.0
i put my info.php file at /usr/share/nginx/html .
my nginx.conf file configuration is: (inside http block)
"server {
location / {
root /usr/share/nginx/html;
index index.html index.htm index.php;
}
location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}"
i run it on a virtual machine.
my /etc/hosts file is:
"127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6"
my "inet addr:192.168.0.17" .
and when i try localhost/info.php , firefox says:
"You have chosen to open
info.php
which is a: BIN file (20 bytes)
from:
http://localhost
Would you like to save this file?"
how to solve this?
thanks a lot..
Recent comments
17 hours 1 min ago
18 hours 58 sec ago
21 hours 47 min ago
23 hours 1 min ago
1 day 2 hours ago
1 day 9 hours ago
1 day 18 hours ago
1 day 20 hours ago
2 days 11 hours ago
2 days 13 hours ago