#45042 [Fbk->Opn]: Vista & mySQL Extension = slowdown when PHP finalizes
| From: | php at schubec dot com | Date: | Tue, 20 May 2008 09:51:37 +0000 |
| Subject: | #45042 [Fbk->Opn]: Vista & mySQL Extension = slowdown when PHP finalizes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125141@lists.php.net to get a copy of this message | ||
ID: 45042
User updated by: php at schubec dot com
Reported By: php at schubec dot com
-Status: Feedback
+Status: Open
Bug Type: Performance problem
Operating System: Vista (any version)
PHP Version: 5.2.6
New Comment:
Sorry, but what info are you missing?
I read the "how to post bugs" page, but I do not see what I am
missing.
Thank you,
Bernhard
Previous Comments:
------------------------------------------------------------------------
[2008-05-19 22:44:28] jani@php.net
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.
------------------------------------------------------------------------
[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