#45042 [Opn->Fbk]: Vista & mySQL Extension = slowdown when PHP finalizes

From: Date: Mon, 19 May 2008 22:44:29 +0000
Subject: #45042 [Opn->Fbk]: Vista & mySQL Extension = slowdown when PHP finalizes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-125124@lists.php.net to get a copy of this message
 ID:               45042
 Updated by:       jani@php.net
 Reported By:      php at schubec dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Performance problem
 Operating System: Vista (any version)
 PHP Version:      5.2.6
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.





Previous Comments:
------------------------------------------------------------------------

[2008-05-19 22:13:25] php at schubec dot com

Description:
------------
When you activate the mySQL Extension on Vista, PHP is delayed for
about 3-4 seconds after every script execution.
As far as I found out this happens when PHP finalizes (so something
like a destructor or so).
Problem can be reproduced.

Even if NO mySQL related code is called!!!


I am using a CLI version of PHP 5.2.6. The problem can also be
reproduced when you use SAPI to embed PHP in you own application.

I did not test that with IIS/Apache or any other webserver.

Reproduce code:
---------------
//Any code will do
echo "Hello World";

//This takes about 5 secs to execute on Vista with mySQL Extensions on.

Expected result:
----------------
Either a delay only when something mySQL related is used (eg:
mysql_connect) or no noticable delay at all.



Actual result:
--------------
Every script is delayed 5 seconds.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45042&edit=1



Thread (7 messages)

« previous php.bugs (#125124) next »