Activity Stream
48,167 MEMBERS
6835 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 How do I disable output buffering in php?

    I have edited every php.ini file on the server to output_buffering = Off and set the 2 values under it to 0 and for some reason when I run my script it says output buffering is enabled. I tried adding a .htaccess file in the directory and I put php_value output_buffering = Off and it still doesnt work.
    Does anyone know a way to fix this so I can run my sborg script? lol

    I have php5 installed and the http service is apache2
    jamilv Reviewed by jamilv on . How do I disable output buffering in php? I have edited every php.ini file on the server to output_buffering = Off and set the 2 values under it to 0 and for some reason when I run my script it says output buffering is enabled. I tried adding a .htaccess file in the directory and I put php_value output_buffering = Off and it still doesnt work. Does anyone know a way to fix this so I can run my sborg script? lol I have php5 installed and the http service is apache2 Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    warezat.net
    Restart the server after you're done editing php.ini

  4.     
    #3
    Member
    Do a full restart? I did the service restarts..but I guess I will try that

    EDIT: Still no luck ;;

  5.     
    #4
    Member
    Website's:
    warezat.net
    I think the service restarts would be fine, not sure though

    If you want to make sure you're editing the right php.ini script
    Make a phpinfo.php file
    and put this in it: <? phpinfo(); ?>

    Should show you the php.ini file its running on.

    Also i think i had this problem before with Kloxo, instead of editing the php.ini file, i disabled it from kloxo

    Not sure if thats what you have though

  6.     
    #5
    Member
    Its running under my apache2 php.ini which I edited to the following:

    ; output_buffering = Off
    ; Default Value: Off
    ; Development Value: 0
    ; Production Value: 0


    Copy of my php.ini file: http://www.fileserve.com/file/Fyb8Nxd

  7.     
    #6
    Member
    Website's:
    warezat.net
    ; output_buffering = Off
    should be
    output_buffering = Off

    the semicolon in front means its commented out

  8.     
    #7
    Member
    ugh....FML lol, I spent an hour looking around and didnt even think to check if the ; should have been there

    THANK YOU!

    EDIT: not working still T_T

    Under phpinfo it says output buffer is running at 4096 after editing all the php.ini files including the one actually running to output_buffer = Off without the ;

    I think I will just do a reformat and try using something other than ubuntu

  9.     
    #8
    Member
    Website's:
    ExpresShare.com
    Are you using some other scripts in your server??
    it may be in the script itself I'm not sure.can you give more info??

  10.     
    #9
    Member
    The server is running rutorrent and transmission, thats it at the moment...and a proftpd

  11.     
    #10
    Member
    Website's:
    ExpresShare.com
    try disabling rutorrent and test the script again.I think rutorrent needs the output buffering to be on so it might enable it (even if in php.ini it's off) I'm not sure if it interferes with sBrog but just try it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help! says [No Audio Output Device is installed] on my VPS
    By Phresh in forum Server Management
    Replies: 2
    Last Post: 4th Sep 2011, 03:25 AM
  2. [java] Output a Two Decimal Value
    By Hillside in forum Web Development Area
    Replies: 4
    Last Post: 22nd Jul 2011, 12:11 AM
  3. Speed Up Video Buffering 100% Wroks
    By Rock|the|world in forum Tutorials and Guides
    Replies: 13
    Last Post: 19th Jul 2011, 10:34 PM
  4. How To Fix Validation Output: 70 Errors
    By BigBang24 in forum Webmaster Discussion
    Replies: 7
    Last Post: 31st Mar 2011, 08:49 AM
  5. [php] Compression | Output Buffer control
    By litewarez in forum Web Development Area
    Replies: 2
    Last Post: 7th Jul 2010, 06:14 PM

Tags for this Thread

BE SOCIAL