Activity Stream
48,167 MEMBERS
61730 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 10 of 10
  1.     
    #1
    Member

    Default 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

  2.   Sponsored Links

  3.     
    #2
    (╯?□?)╯︵ ┻━┻
    Website's:
    Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.com
    ob_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!

  4.     
    #3
    Member
    lol JmZ yes it is

  5.     
    #4
    (╯?□?)╯︵ ┻━┻
    Website's:
    Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.com
    No, 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!

  6.     
    #5
    Member
    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.

  7.     
    #6
    (╯?□?)╯︵ ┻━┻
    Website's:
    Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.com
    If 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!

  8.     
    #7
    Member
    well what i wanted to say is it CAN make difference under different configurations

    u cant say
    maybe there is a problem in configuration. afterall webserver is the one ouputing it.

  9.     
    #8
    Member
    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?

  10.     
    #9
    (╯?□?)╯︵ ┻━┻
    Website's:
    Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.com
    Quote Originally Posted by SalmanAbbas007 View Post
    well what i wanted to say is it CAN make difference under different configurations

    u cant say
    maybe there is a problem in configuration
    I can because he has gzip off lol. Nothing else i know of buffers output like that.

    But anyway his actual problem i dont understand, whats wrong with it if you say the code works? Explain more please.
    Projects:
    WCDDL - The Professional DDL Script
    Top Secret Project: In Development - ZOMG
    ImgTrack - Never Have Dead Images Again!

  11.     
    #10
    Member
    Just need to disable gzip and decrease the fastcgi_buffer_size.
    problem solved.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Are you using Cpanel? Install nginx Today and Boost up your server
    By rohan123 in forum Tutorials and Guides
    Replies: 1
    Last Post: 18th May 2012, 06:39 AM
  2. [TUT]How to install Nginx Web Server ~ Domenic Edition
    By Dom in forum Technical and Security Tutorials
    Replies: 16
    Last Post: 22nd Mar 2012, 05:52 PM
  3. Nginx Overtakes Microsoft As No. 2 Web Server
    By Daniel in forum News & Current Events
    Replies: 1
    Last Post: 5th Jan 2012, 08:05 AM
  4. Litespeed / Apache / nginx /Zend server
    By Danielx64 in forum Polling Plaza
    Replies: 7
    Last Post: 13th Jul 2011, 10:06 AM
  5. Nginx Custom Headers - Kick Ass Server :P
    By desiboy in forum Technical and Security Tutorials
    Replies: 3
    Last Post: 26th Jan 2011, 04:00 AM

Tags for this Thread

BE SOCIAL