#47283 [Bgs]: mysql_connect call crashes web server
| From: | darren at misterdoom dot com | Date: | Wed, 11 Feb 2009 09:20:17 +0000 |
| Subject: | #47283 [Bgs]: mysql_connect call crashes web server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-133704@lists.php.net to get a copy of this message | ||
ID: 47283
User updated by: darren at misterdoom dot com
Reported By: darren at misterdoom dot com
Status: Bogus
Bug Type: MySQL related
Operating System: win32 only - Vista Home Premium
PHP Version: 5.2.8
Assigned To: pajoye
New Comment:
I used the PHP supplied DLLS. The PHP extensions directory is in the
path information, the MySQL DLL was visible. This problem happened with
IIS 7, not just Apache.
Thinking about it logically, if the DLL was not visible or the
incorrect DLL with the 5.2.8 install, it would have still not been
visible or correct with the 5.2.5 install, which is working.
This is a bug, not bogus.
Previous Comments:
------------------------------------------------------------------------
[2009-02-10 18:40:45] pajoye@php.net
Do not ever use DLLs from mysql but only the one we provide with PHP.
Be sure that PHP's install directory (where the libmysql.dll is) is
first in your path for apache.
Not a php bug > bogus.
------------------------------------------------------------------------
[2009-02-10 10:44:18] tony2001@php.net
Pierre, you seem to know what's wrong there - is this some lib version
incompatibility?
------------------------------------------------------------------------
[2009-02-06 22:44:57] darren at misterdoom dot com
Yes, I am running MySql 5.1.11.
I have un-installed PHP 5.2.8 as I needed to continue working on my web
site. I now have PHP 5.2.5 installed, and the problem does not occur.
------------------------------------------------------------------------
[2009-02-06 13:46:53] pajoye@php.net
And you have installed mysql 5.1 right?
------------------------------------------------------------------------
[2009-02-06 13:25:57] kalle@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/47283
--
Edit this bug report at http://bugs.php.net/?id=47283&edit=1