Welcome! Log In Create A New Profile

Advanced

Re: cannot load php page, please help

September 25, 2010 11:15PM
Mike, you are rite. I replace my "default" file with this one. now everything works.

[code]
server {
server_name localhost;
listen 80; # listen on port 80

root /www; # our root document path
index index.php index.html index.htm;

location ~* \.php$ { # for requests ending with .php

# specify the listening address and port that you configured previously
fastcgi_pass 127.0.0.1:9000;

# the document path to be passed to PHP-FPM
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

# the script filename to be passed to PHP-FPM
fastcgi_param PATH_INFO $fastcgi_script_name;

# include other FastCGI related configuration settings
include fastcgi_params;
}
}
[/code]
Subject Author Posted

cannot load php page, please help

feelexit September 25, 2010 08:25PM

Re: cannot load php page, please help

mike September 25, 2010 08:30PM

Re: cannot load php page, please help

feelexit September 25, 2010 08:34PM

Re: cannot load php page, please help

mike September 25, 2010 08:50PM

Re: cannot load php page, please help

feelexit September 25, 2010 09:26PM

Re: cannot load php page, please help

feelexit September 25, 2010 11:15PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready