![]() |
|
#1
|
|||
|
|||
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
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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 GIDBlog
New Corolla Altis, 10th Generation - Part I by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
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