#31426 [Opn->Fbk]: IIS and mysql_fetch_field
| From: | sniper@php.net | Date: | Mon, 10 Jan 2005 01:24:31 +0000 |
| Subject: | #31426 [Opn->Fbk]: IIS and mysql_fetch_field | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71673@lists.php.net to get a copy of this message | ||
ID: 31426
Updated by: sniper@php.net
Reported By: guillaume dot jung at usocome dot com
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: Windows 2000
PHP Version: 5.0.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-01-06 13:19:59] guillaume dot jung at usocome dot com
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.
------------------------------------------------------------------------
[2005-01-06 11:30:46] georg@php.net
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