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
1 day 2 hours ago
1 day 5 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 3 min ago
2 days 6 hours ago
2 days 15 hours ago
2 days 17 hours ago
3 days 1 hour ago
3 days 3 hours ago