RE: [PHP] PHP with MYSQL help with timeout/max execution time error
| From: | Andrew Braund | Date: | Fri, 05 Jul 2002 05:24:35 +0000 |
| Subject: | RE: [PHP] PHP with MYSQL help with timeout/max execution time error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105568@lists.php.net to get a copy of this message | ||
> Police Trainee wrote:
> > i have a mysql table with approximately 9800 rows and
> > i attempt to use PHP to display the entire table onto
> > a web page. after a few minutes, the page outputs an
> > error indicating maximum execution time of 60 seconds
> > exceeded in ./libraries/display_tbl.lib. I attempted
> > to load mysqld with mysqld -O net_write_timeout=300,
> > however, the value for that variable seems to stay at
> > 60 and does not change to 300. i do not know if this
> > is the source or cause of the problem though as
> > execution time does not sound the same as a write
> > timeout.
is PHP timing out?
try
ini_set("max_execution_time","300"); // or set_time_limit(300)
Regards
Andrew Braund