|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-06-23 13:12 UTC] rich at healthwaresolutions dot net
[2008-06-23 14:13 UTC] rich at healthwaresolutions dot net
[2008-06-23 16:23 UTC] mikael at synd dot info
[2008-06-23 18:25 UTC] rich at healthwaresolutions dot net
[2008-06-24 01:51 UTC] rich at healthwaresolutions dot net
[2009-04-02 11:05 UTC] mvharris at gmail dot com
[2009-04-08 03:30 UTC] bad_user at inbox dot ru
[2010-03-25 04:53 UTC] pierre dot php at gmail dot com
[2011-03-11 01:46 UTC] hradtke@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Description: ------------ PHP 5.2.6 latest Pecl4Win release of memcache extensions loaded: (php_mysql.dll or php_mysqli or php_pdo_mysql + php_pdo ) + php_memcache When running a test script which uses memcache (establishing a memcache connection - persistent or otherwise - is all that is required to produce the problem) the script hangs momentarily after comlpeting all of the code that is in the script, but before terminating. In the sample code, the script instantly returns "Done" but does not terminate thereafter, instead it hanges for 5 or 6 seconds, and then terminates. This occurs on CGI as well as CLI mode. If I remove whichever mysql extension is loaded by commenting it out of php.ini, the script terminates immediately upon completion. Reproduce code: --------------- <?php $memcache = new Memcache; $memcache->pconnect('localhost', 11211) or die ("Could not connect"); echo "Done."; ?> Expected result: ---------------- Scipt runs as expected, but hangs before returning, only when a mysql extension is loaded. Actual result: -------------- As above.