473,320 Members | 2,052 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,320 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 3699
"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 =...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.