473,244 Members | 1,824 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,244 software developers and data experts.

PHP Output limit 2M?

Hi,

I'm using fpassthru() to send files to the browser, but only the first
2000000 bytes are sent. The apache log shows 2000000 bytes too.

Where does this limit come from and how do I change it?

My system:

PHP5.04
Apache/2.0.49 (Linux/SuSE)

I am using no output handler, and I have tried turning output buffering on
and off. I have set memory limit to 32Mb. None of that helps.

Best Regards,

Peter Albertsson
Jul 17 '05 #1
2 3697
"Peter Albertsson" <Pe***********************@antispOm.comhem.se> wrote in
message news:iy*********************@newsc.telia.net...
Hi,

I'm using fpassthru() to send files to the browser, but only the first
2000000 bytes are sent. The apache log shows 2000000 bytes too.

Where does this limit come from and how do I change it?

My system:

PHP5.04
Apache/2.0.49 (Linux/SuSE)

I am using no output handler, and I have tried turning output buffering on
and off. I have set memory limit to 32Mb. None of that helps.

Best Regards,

Peter Albertsson


I found the problem, it's a bug in PHP5.04...
http://bugs.php.net/bug.php?id=32553)
Jul 17 '05 #2

"Peter Albertsson" <Pe***********************@antispOm.comhem.se> wrote in
message news:vN*********************@newsc.telia.net...
"Peter Albertsson" <Pe***********************@antispOm.comhem.se> wrote in
message news:iy*********************@newsc.telia.net...
Hi,

I'm using fpassthru() to send files to the browser, but only the first
2000000 bytes are sent. The apache log shows 2000000 bytes too.

Where does this limit come from and how do I change it?

My system:

PHP5.04
Apache/2.0.49 (Linux/SuSE)

I am using no output handler, and I have tried turning output buffering
on and off. I have set memory limit to 32Mb. None of that helps.

Best Regards,

Peter Albertsson


I found the problem, it's a bug in PHP5.04...
http://bugs.php.net/bug.php?id=32553)


And here is the patch:
https://bugzilla.redhat.com/bugzilla....cgi?id=155916
https://bugzilla.redhat.com/bugzilla....cgi?id=113644

Best Regards,

Peter Albertsson
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Andrew Fisher | last post by:
Hi all, I am building a site at the moment that as you'd expect takes an XML file and then uses XSLT to output html, wml etc. Now the question I have has eluded me for a couple of days now...
5
by: Marcel Akkerman | last post by:
Hi, Does anyone have a clue how to reduce the number of nodes using XSLT? When outputing all nodes in order I could just use <xsl:for-each select="name"> But what if I, besides sorting and...
1
by: arkam | last post by:
Hi, I am building a solution containing one project and no special references. My dll just reached the 64KB "limit" and is 66KB now. When my DLL reached the 64KB limit IIS stopped releasing my...
4
by: Zenon | last post by:
I have a C# application which interacts with an HP UNIX box via PSFTP. I have run in to a problem where the maximum amount of characters I can redirect is 1024. This number leads me to believe...
1
by: juergen | last post by:
Hi, there are many postings on this subject, I have read them put don't have an answer. I get these warnings: Cannot send session cookie - headers already sent in, but my php-scripts are okay. ...
24
by: tizi_de | last post by:
Hello all, I'm looking for a sample program in C to print out lines not to the standard MS Dos Box but into a different control e.g. text control. Has C the possibility to do printouts to a...
3
by: ajh | last post by:
Using Ubuntu 5, Apache2 and PHP 4 I am trying display in a web browser the output from a program I wrote in C. Here is an abridged version of my code (I can post all of it later): <?php ...
3
by: pv1 | last post by:
Hello, I am somewhat new to Access and vba, but am trying to complete a request that has been made of me. Access version 2002 WindowsXP. At this point these text boxes are bound to the table...
2
by: cleary1981 | last post by:
Hi, I have created a script in PHP thats generates an SVG image. Want I want to do is have PHP save this as example.svg. Can this be done? Heres my code <?php require "config.php"; $proj_id =...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.