Results 1 to 10 of 10
-
14th Nov 2010, 10:44 AM #1OPMember
ob_flush On Nginx Server? RapidLeech help
I am search for the solution for using ob_flush on nginx server.
This is nginx + fastcgi.
I have changed
php.ini: output_buffering = Off
nginx.conf: gzip off;
I also tested with with it:
<?php
set_time_limit(0);
ob_end_clean();
ob_implicit_flush(1);
for($i = 0; $i < 10; $i++)
{
echo $i, "<br />\n";
echo str_repeat(" ",1024*64);
sleep(1);
}
?>
It works fine.
But how to make audl.php working?
Where should i put echo str_repeat(" ",1024*64); in audl.php??
Anyone can help me?soogoomoo Reviewed by soogoomoo on . ob_flush On Nginx Server? RapidLeech help I am search for the solution for using ob_flush on nginx server. This is nginx + fastcgi. I have changed php.ini: output_buffering = Off nginx.conf: gzip off; I also tested with with it: <?php set_time_limit(0); Rating: 5
-
14th Nov 2010, 11:11 AM #2(╯?□?)╯︵ ┻━┻Website's:
Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.comob_flush is nothing to do with the web server.
You could run apache, lighty, nginx or litespeed, it makes no difference. The ob_ functions are php related, web server is irrelevant to the problem.Projects:
WCDDL - The Professional DDL Script
Top Secret Project: In Development - ZOMG
ImgTrack - Never Have Dead Images Again!
-
14th Nov 2010, 11:15 AM #3
-
14th Nov 2010, 11:19 AM #4(╯?□?)╯︵ ┻━┻Website's:
Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.comNo, really, it isn't.
When you run such a script, PHP handles it, it does not care what web server you run, this is irrelevant.Projects:
WCDDL - The Professional DDL Script
Top Secret Project: In Development - ZOMG
ImgTrack - Never Have Dead Images Again!
-
14th Nov 2010, 11:21 AM #5Member
lol yes it does make difference
eg when mod_gzip is enabled flush() can stop working
http://www.php.net/manual/en/function.flush.php
Server modules for Apache like mod_gzip may do buffering of their own that will cause flush() to not result in data being sent immediately to the client.
-
14th Nov 2010, 11:23 AM #6(╯?□?)╯︵ ┻━┻Website's:
Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.comIf you want to be picky yes, but it does not matter what web server you run.
Flush would not work under mod_gzip because, logically, it is gzipping the content, and to do that it must buffer content to gzip it.
Any sort of web server gzipping would affect this, it is not specific to apache.
Hence, yet again, the web server is irrelevant.
On a side note, he has gzip disabled, clearly.Projects:
WCDDL - The Professional DDL Script
Top Secret Project: In Development - ZOMG
ImgTrack - Never Have Dead Images Again!
-
14th Nov 2010, 11:33 AM #7Member
-
14th Nov 2010, 11:38 AM #8OPMember
I have made gzip disabled but I don't know how to edit audl.php .
Is there anyone familiar with rapidleech and know how to edit audl.php to show transload bar?
-
14th Nov 2010, 11:42 AM #9(╯?□?)╯︵ ┻━┻Website's:
Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.comProjects:
WCDDL - The Professional DDL Script
Top Secret Project: In Development - ZOMG
ImgTrack - Never Have Dead Images Again!
-
14th Nov 2010, 01:58 PM #10OPMember
Just need to disable gzip and decrease the fastcgi_buffer_size.
problem solved.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Are you using Cpanel? Install nginx Today and Boost up your server
By rohan123 in forum Tutorials and GuidesReplies: 1Last Post: 18th May 2012, 06:39 AM -
[TUT]How to install Nginx Web Server ~ Domenic Edition
By Dom in forum Technical and Security TutorialsReplies: 16Last Post: 22nd Mar 2012, 05:52 PM -
Nginx Overtakes Microsoft As No. 2 Web Server
By Daniel in forum News & Current EventsReplies: 1Last Post: 5th Jan 2012, 08:05 AM -
Litespeed / Apache / nginx /Zend server
By Danielx64 in forum Polling PlazaReplies: 7Last Post: 13th Jul 2011, 10:06 AM -
Nginx Custom Headers - Kick Ass Server :P
By desiboy in forum Technical and Security TutorialsReplies: 3Last Post: 26th Jan 2011, 04:00 AM
themaCreator - create posts from...
Version 3.48 released. Open older version (or...