GIDForums

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 31-Aug-2004, 13:36
HaganeNoKokoro HaganeNoKokoro is offline
New Member
 
Join Date: Aug 2004
Posts: 2
HaganeNoKokoro is on a distinguished road
Unhappy

Apache / PHP problem, maybe output length?


Ok... I'm a real newb when it comes to apache and php configuration, and a semi-newb in php programming, so this is probably a dumb problem, but here goes:

I am running Apache 2.0.50 and PHP 5.0.1 on Windows XP. Really simple, typical configuration settings. Most of my php programs work fine, but I have one that goes through a MySQL table of about 12000 rows looking for duplicates and printing out certain columns for each row where the sorting key occurs more than once in a table. It should return about 3000 rows but the output just stops after a few hundred.

I have checked the script by running it from the command line into a file and the file is correct, I have tried making pages from smaller output and it works great, so it's (almost definitely, you never know) not a PHP or MySQL problem, but something about the way that my current apache configuration is handling large php output (the result of the script ends up being about 1.3 MB)

Does anyone know what I can do about this? Or am I screwed?
  #2  
Old 08-Sep-2004, 05:19
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
Hi,
have you already found a way to solve this?

if not, take a look at php.ini memory_limit
it could help if you make it something like 20Mb and see if that works
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #3  
Old 08-Sep-2004, 07:22
HaganeNoKokoro HaganeNoKokoro is offline
New Member
 
Join Date: Aug 2004
Posts: 2
HaganeNoKokoro is on a distinguished road
Thanks for replying; I have found a decent way around the problem. i write the output to a file and provide a link to that file when done. I may still play with your suggestion, but I think I will leave it the way it is now. If it ain't broke, don't fix it!

Thanks again!
 

Recent GIDBlogNew Corolla Altis, 10th Generation - Part I by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having a problem Chuckles Computer Hardware Forum 19 13-Sep-2004 12:17
apache php no longer working (MX??) XP?? ChicoMendez Apache Web Server Forum 5 30-Aug-2004 10:51
using vector or array oshiotse CPP / C++ Forum 4 16-Apr-2004 10:59
urgent: problem + output filters jack Apache Web Server Forum 0 04-Feb-2004 22:32
Apache - problems using PHP outside the intranet ooandioo Apache Web Server Forum 6 04-Feb-2004 09:27

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 19:03.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.