php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 - 19 = ?
Subscribe to this entry?

 
 [2009-03-03 00:27 UTC] mbarrus73 at gmail dot com
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-03 00:28 UTC] pajoye@php.net
"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] pajoye@php.net
we do not provide 5.1 DLLs with php 5.2.x. PHP 5.3.0 does not use any libmysql.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 00:01:29 2024 UTC