#19485 [Com]: Buffer output even when output_buffering = Off

From: Date: Thu, 19 Sep 2002 16:02:38 +0000
Subject: #19485 [Com]: Buffer output even when output_buffering = Off
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19760@lists.php.net to get a copy of this message
ID: 19485 Comment by: dnordenberg@users.sourceforge.net Reported By: dnordenberg@users.sourceforge.net Status: Open Bug Type: Output Control Operating System: Linux PHP Version: 4.2.3 New Comment: Maybe I should add that if I try to listen to a mp3 file directly from a URL to my server without using a script like in my example, winamp will immediately start buffering for about 0,2 sec and then start playing, almost like it was from a local harddive so it is not my server that is that slow (p166, SCSI disks). The mp3 file I'm testing with is 6,6Mb, I don't want to think about how my server will suffer when trying to load a 100Mb mp3 :( Previous Comments: ------------------------------------------------------------------------ [2002-09-18 19:32:59] dnordenberg@users.sourceforge.net I have set output_buffering to Off and tried something as simple as this: playmp3.php <? readfile("mymp3.mp3"); ?> And the entire output is buffered somewhere. I tried to open the url to the playmp3.php file in winamp and my server hdd LED lights up for about 8 seconds, after that winamp shows it is buffring for about 0.2 sec (LAN connection to the server) and then starts playing. Nothing is outputed from the server while the hdd LED is on and my slow server is terrible busy :( Sometimes the buffering takes more then 10 sec and winamp will time out. I'm using Apache 2.0.40 also. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19485&edit=1

« previous php.bugs (#19760) next »