Incompleted (truncated) PHP output
Huan Truong
huantnh at gmail.com
Thu Jul 5 08:55:23 MSD 2007
After digging into the problem, I found out that the bug does not resides on
the gzip content or gzip module, but it is somewhere in my server
configuration.
I have tried to access the page via elinks on that machine (on which nginx
is installed), and the contents of the scripts are returned correctly. But
when I used another computer to access it, the problem occurs again. The
returned content from php fastcgi server is truncated.
I tried several events module, and the interesting thing is, when I used
different events modules, the point -- where the returned configuration is
truncated -- changed.
I cannot figure out what caused the problem.
--
Huan, Truong -- huantnh at gmail.com
Visit my personal homepage: http://tnhh.info/
"Huan Truong" <huantnh at gmail.com> wrote in
message news:f6bf3p$3om$1 at sea.gmane.org...
> Hi all,
>
> I met a very weird problem with nginx and PHP - nginx - in some very rare
> cases, does not return the whole content of php script. For example, this
> page:
> http://implicitbeauty.com/wp-includes/js/tinymce/tiny_mce_gzip.php?ver=20070326&theme=advanced&language=en&lang=en&index=0
> - isn't returned correctly -- It is truncated. Some other files are also
> truncated, and that files resulted uncompleted web pages.
>
> One more example: http://hpvn.net/forum/showthread.php?t=47
>
> Seems that nginx doesn't like php scripts that produce too long results?
>
> I have checked all the configurations in php.ini and nginx.conf but
> couldn't find anything wrong - I have updated nginx to the lastest but
> both .56 and .61 have the same problem.
>
> This is my phpinfo file: http://tnhh.info/phpinfo.php
>
> Anyone has experienced this? Please help me.
>
> Thanks in advance.
>
> --
>
> Huan, Truong -- huantnh at gmail.com
> Visit my personal homepage: http://tnhh.info/
>
>
>
More information about the nginx
mailing list