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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mbarrus73 at gmail dot com
New email:
PHP Version: OS:

 

 [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-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 15:05:53 2022 UTC