php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46717 Crash in php_mysqli.dll with MySQL 5.1 DLL
Submitted: 2008-11-29 13:44 UTC Modified: 2008-11-29 14:14 UTC
From: olafvdspek at gmail dot com Assigned: pajoye (profile)
Status: Not a bug Package: MySQLi related
PHP Version: 5.2.6 OS: Windows 2003
Private report: No CVE-ID: None
 [2008-11-29 13:44 UTC] olafvdspek at gmail dot com
Description:
------------
When I use libmysql.dll from MySQL 5.1, PHP crashes. When I use the one from 5.0, it works fine.
The crash occurs when I access phpMyAdmin.

Faulting application httpd.exe, version 2.2.10.0, faulting module php_mysqli.dll, version 5.2.6.6, fault address 0x00002beb.

Windows 2003, Apache 2.2.10, PHP 5.2.6, MySQL 5.1.30

Reproduce code:
---------------
Use phpMyAdmin, I don't have a reduced test case (yet).

Expected result:
----------------
No crash.

Actual result:
--------------
Crash.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-29 14:07 UTC] pajoye@php.net
Use only the DLLs provided with our releases. MySql's DLLs are not compatible with php builds (different crt).
 [2008-11-29 14:14 UTC] olafvdspek at gmail dot com
If I delete the 5.1 DLL from windows/system32 Apache/PHP says it can't find libmysql.dll, although it is in the PHP dir.
 [2008-11-29 14:14 UTC] olafvdspek at gmail dot com
Hmm, somehow the summary got lost.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun May 29 01:05:44 2022 UTC