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

Results 1 to 5 of 5

Hybrid View

r4myy [php] flush() help 18th Sep 2010, 07:08 PM
Halcyon Which browser are you using? ... 19th Sep 2010, 12:26 AM
r4myy Firefox I tried that but it didn't... 19th Sep 2010, 03:32 AM
Seeyabye Read this up, virtualmin uses... 19th Sep 2010, 04:26 AM
r4myy Thank you Seeyabye :) Working... 19th Sep 2010, 05:28 PM
Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    Website's:
    warezat.net

    Default [php] flush() help

    Hi guys, I recently bought a vps from knowin and noticed that flush() isn't working

    Now i know this is probably not the servers fault, but i can't get it to work at all

    Tried
    ob_flush(); flush(); sleep(1);

    It goes through the loop but doesnt sleep, just waits till the whole page loads :/

    I tried disabling gzip for that page but still doesn't work

    Anyone know what's going on? I been googling for a couple hours and pretty much tried everything

    I think if i re-install the os it might work but i dont wanna do that lol

    Any help appreciated
    r4myy Reviewed by r4myy on . [php] flush() help Hi guys, I recently bought a vps from knowin and noticed that flush() isn't working Now i know this is probably not the servers fault, but i can't get it to work at all Tried ob_flush(); flush(); sleep(1); It goes through the loop but doesnt sleep, just waits till the whole page loads :/ I tried disabling gzip for that page but still doesn't work :( Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    sborg.us
    Which browser are you using?

    also,

    Code: 
     http://www.absolutelytech.com/2010/01/31/solved-flush-ob_flush-not-working-in-php-disabling-gzip-through-htaccess/

  4.     
    #3
    Member
    Website's:
    warezat.net
    Firefox
    I tried that but it didn't work

    I think its something with the installation.. i installed w/ virtualmin.. think if i reinstall with kloxo it'll fix it?

  5.     
    #4
    Member
    Read this up, virtualmin uses mod_fcgid, where this mod has it's own OutputBuffer,

    http://www.virtualmin.com/node/14618

    You will need to recompile your own mod_fcgid and replace virtualmin's mod_fcgid for it to work, not to forget, setting OutputBufferSize to 0.

  6.     
    #5
    Member
    Website's:
    warezat.net
    Thank you Seeyabye

    Working now..

    One more thing though..

    I have the set_time_limit to 0 but i have a shell_exec() that takes a long time to load so the page just times out :/
    Is that function supposed to work with set_time_limit. (Limit is unlimited in php.ini too)

Thread Information

Users Browsing this Thread

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

Tags for this Thread

BE SOCIAL