query no longer than 5 minutes?

From: Date: Thu, 14 Dec 2000 11:46:52 +0000
Subject: query no longer than 5 minutes?
Groups: php.db 
Request: Send a blank email to php-db+get-5240@lists.php.net to get a copy of this message
Apache1.3.14 + PHP4.0.3pl with sybase-ct AIX 4.3.2 below is my test PHP program. when $sql is a sql statement testing different executing time. $sql = "waitfor delay '0:0:1'"; when time exceed 5 minutes, my browser IE says request timeout. I tried modify the "timeout" directive in httpd.conf, no effect max_execute_time in php.ini neither Has anyone seen this? <? require("sybase.php3"); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>zh test</title> </head> <body> fsfsafsdfsadfsdfsadfsdfsdaf <? file://printt "asf"; phpinfo(); // echo "tp"; $sybdb = new CSybDb("ZSTAX_B", "sa", "sybase", "develop"); $sql = "waitfor delay '0:0:1'"; sybase_query($sql, $sybdb->sybdb); $sybrs = new CSybRs("select * from T01_JKFS", $sybdb); $sybrs->display(); // ... or do anything else $sybrs->destroy(); $sybdb->destroy(); ?> </body> </html>

« previous php.db (#5240) next »