Welcome! Log In Create A New Profile

Advanced

Re: php-apc and Nginx

September 08, 2009 06:03PM
Michael Baudino Wrote:
-------------------------------------------------------
> Hello everyone,
>
> I'm running OpenUpload 0.4.1 (a RapidShare-like
> web-app) on nginx-0.6.32
> with php-5.2.6 and php-apc-3.0.19 (all but
> openupload are from debian
> stable repositories).
>
> Everything is working fine, except that OpenUpload
> is supposed to
> display progress information during upload of a
> file using APC.
> It does not on my config :-(
>
> According to Alessandro Briosi, OpenUpload
> developer, the problem might
> come from nginx not passing some information to
> php.

This is almost certainly the case.

When nginx uploads a file it uploads the entire file before passing it to PHP. Consequently the script has no way to know how much of the file has been uploaded until the upload is complete.

>
> My full thread with him is here :
> https://sourceforge.net/tracker/?func=detail&aid=2
> 854594&group_id=242018&atid=1117805
>
> Could anyone here confirm that it could be the
> source of the problem ?

See above

> And do you have any way to fix this ?

You can recode the app to use some third party nginx modules, but short of that probably not. More practical would be to show a different GIF than what you are showing now - one which includes a message to the user that their file is being uploaded and to wait until it is completed.

>
> Thanks in advance
>
> --
> Michael Baudino
> KameHouse Prod.

--
Jim Ohlstein
Subject Author Posted

php-apc and Nginx

Michael Baudino September 08, 2009 05:14PM

Re: php-apc and Nginx

vesperto September 08, 2009 05:30PM

Re: php-apc and Nginx

Jim Ohlstein September 08, 2009 06:03PM

Re: php-apc and Nginx

Maxim Dounin September 08, 2009 06:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
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