ID: 31426 User updated by: guillaume dot jung at usocome dot com Reported By: guillaume dot jung at usocome dot com -Status: Feedback +Status: Open Bug Type: MySQL related Operating System: Windows 2000 PHP Version: 5.0.3 New Comment:
I use MySQL 4.0.21 on Windows 2000 SP4 Server. After some minutes I receive this message : <a href="tbl_propertiesHTTP/1.1 502 Gateway Error Server: Microsoft-IIS/5.0 Date: Thu, 06 Jan 2005 12:17:47 GMT Connection: close Content-Length: 186 Content-Type: text/html CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process. Previous Comments: ------------------------------------------------------------------------ [2005-01-06 11:30:46] [EMAIL PROTECTED] Which mysql client and server version do you use? ------------------------------------------------------------------------ [2005-01-06 11:08:36] guillaume dot jung at usocome dot com Description: ------------ With the last version of PHP5 mysql_fetch_field block and all scripts are timed out. Reproduce code: --------------- function PMA_DBI_get_fields_meta($result) { $fields = array(); $num_fields = mysql_num_fields($result); for ($i = 1; $i < $num_fields; $i++) { $fields[] = PMA_convert_display_charset(mysql_fetch_field($result, $i)); } return $fields; } Expected result: ---------------- This code come from phpmyadmin and when I execute sql.php file it blocks. Actual result: -------------- Script timed out. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31426&edit=1