|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47548 Wrong version of libmysql.dll crashes apache
Submitted: 2009-03-03 00:27 UTC Modified: 2009-03-03 01:02 UTC
From: mbarrus73 at gmail dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.2.9 OS: Win32
Private report: No CVE-ID: None
 [2009-03-03 00:27 UTC] mbarrus73 at gmail dot com
installed php from zip file. All pages that did not access mysql worked fine.  Crashed apache on all mysql pages.  Noticed that mysql client version was 5.1.  Made backup of file, installed old libmysql.dll from PHP 5.2.8 zip file and all works fine.  Something is wrong with libmysql.dll in php 5.2.9 zip file.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-03 00:28 UTC]
"Noticed that mysql client version was 5.1."

You were using libmysql from mysql 5.1, that's why it crashed.
 [2009-03-03 00:35 UTC] mbarrus73 at gmail dot com
Let me clarify.  I noticed within phpinfo() that the mysql client was version 5.1.  And reverting to an older version of libmysql.dll within the php directory fixed the problem.  It seemed to me that the original libmysql.dll within the php 5.2.9 zip distribution was a mysql 5.1 client.  When I replaced the libmysql.dll file with the one from php 5.2.8 zip distribution, it fixed the problem.
 [2009-03-03 01:02 UTC]
we do not provide 5.1 DLLs with php 5.2.x. PHP 5.3.0 does not use any libmysql.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 15:05:53 2022 UTC