September 25, 2010 08:50PM
Show us which sites-enabled site config this is.

On Sep 25, 2010, at 5:34 PM, "feelexit" <nginx-forum@nginx.us> wrote:

> HI, Mike.
>
> here's my nginx.conf.
>
> [code]
> user www-data www-data;
> worker_processes 4;
>
> events {
> worker_connections 4;
> }
>
> http {
> include mime.types;
> default_type application/octet-stream;
>
> sendfile on;
> tcp_nopush on;
> tcp_nodelay off;
> keepalive_timeout 5;
>
> gzip on;
> gzip_comp_level 2;
> gzip_proxied any;
> gzip_types text/plain text/css application/x-javascript
> text/xml application/xml application/xml+rss text/javascript;
>
> include /usr/local/nginx/sites-enabled/*;
> }
> [/code]
>
>
>
>
> mike Wrote:
> -------------------------------------------------------
>> Sounds like you're missing a php location block.
>> You need to show us your config. Pastebin it
>>
>> On Sep 25, 2010, at 5:25 PM, "feelexit" wrote:
>>
>>> I have nginx, php 5 and php5-fpm installed on
>> ubuntu 10.04 server
>>> edition.
>>>
>>> After I started the nginx server, I have no
>> problem loading the regular
>>> html pages. but all .php pages cannot be viewed,
>> firefox just pop out a
>>> window asking me if I wnat to download the file.
>>>
>>> I also tried IE, on IE, it just shows the source
>> code.
>>>
>>> I checked both nginx and php5-fpm error log
>> files, didn't see any
>>> errors. did I miss something during the
>> configuration?
>>>
>>> I dont know if the problem is nginx or php5_fpm,
>> I need someone to
>>> point me to the rite direction
>>>
>>> Posted at Nginx Forum:
>> http://forum.nginx.org/read.php?2,134116,134116#ms
>> g-134116
>>>
>>>
>>> ____
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,134116,134119#msg-134119
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
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: 170
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready