[KLUG Members] Best way to use temp files in PHP

Big M members@kalamazoolinux.org
Mon, 9 Sep 2002 17:17:44 -0700 (PDT)


--- adam@morrison-ind.com wrote:
> >>internall it holds all this information in an array.  So I've got a
> >>report with 15 columns of various types, and a heck of alot of
> rows.
> >>At about ~40,000 rows I hear "Ahhhhhhhhhhhhhhhhhhhhhhhhhhhh!" as a
> >>temporal rift occurs to some hell dimension and my PHP process
> topples
> >>into it.  So I'm thinking I just can't have arrays that big.

from:

  http://marc.theaimsgroup.com/?l=php-general&m=95685671330868&w=2

Check your PHP.INI file for the following variable:

max_execution_time = 30     ; Maximum execution time of each script, in
seconds

You might want to try to increase the execution time that the PHP
engine is allowed to process a script (try doubling the
max_execution_time). With scripts for parsing large amounts of text, or
for large database queries, PHP will "time out" before the script has
finished.






=====
http://www.dot2date.com
the way dating was meant to be
fast. friendly. fun.

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com