Bug #14988 Updated: mysql_pconnect() and POST takes a lot of time
| From: | daniel dot burckhardt at sur-gmbh dot ch | Date: | Tue, 19 Feb 2002 12:30:05 +0000 |
| Subject: | Bug #14988 Updated: mysql_pconnect() and POST takes a lot of time | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-571@lists.php.net to get a copy of this message | ||
ID: 14988
Updated by: daniel.burckhardt@sur-gmbh.ch
Reported By: daniel.burckhardt@sur-gmbh.ch
Status: Open
Bug Type: MySQL related
Operating System: w2k
PHP Version: 4.1.1
New Comment:
seems to be caused by slow DNS-lookups and some problems in netscape
4.x:
http://www.phpbuilder.com/forum/read.php3?num=4&id=5321&thread=2583
Previous Comments:
------------------------------------------------------------------------
[2002-01-11 05:26:44] daniel.burckhardt@sur-gmbh.ch
did some further checks - i have the same problem with the cgi-version
and using older version (4.0.4) and when using mysql_connect instead of
mysql_pconnect.
my mysql-version is 3.23.46-nt
------------------------------------------------------------------------
[2002-01-10 21:43:49] daniel.burckhardt@sur-gmbh.ch
when using php 4.1.0 and 4.1.1 on win2k (both php4isapi.dll and
php4apache.dll)
the function-call
mysql_pconnect("localhost", "root", "")
takes about 5 seconds when the page is a called with a post request
(<form method="post" action="pagename.php">) while there is no
noticable delay when calling it with a GET-request (by entering the url
pagename.php directly into the browser or setting method="get" in the
form-tag)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14988&edit=1