php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27435 php_mysql.dll does not work with new versions of libmysql.dll
Submitted: 2004-02-29 02:10 UTC Modified: 2004-03-09 12:18 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:2 (66.7%)
From: raido dot valgevali at mail dot ee Assigned:
Status: Closed Package: MySQL related
PHP Version: 5.0.0b4 (beta4) OS: Windows (all)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: raido dot valgevali at mail dot ee
New email:
PHP Version: OS:

 

 [2004-02-29 02:10 UTC] raido dot valgevali at mail dot ee
Description:
------------
At least Visual Studio DLL dependency walker shows that in '5.0.0b4 win32 zip binary' the php_mysql.dll extension supports mysql_create_db() and mysql_drop_db() functions as do the mySQL 3.x client libraries. Fine.
But these 2 functions are dropped in version 4.x and 5.x libmySQL.dll. So trying to use newer mysql client libraries with php5 (as suggested) results an error.

In general it is a request to include both php_mysql3.dll and php_mysql45.dll in the package. Although it's sure easy to self-recompile the php_mysql.dll without these 2 functions.

Additional information:

Default manual install and conf of PHP5 and MySQL5 on W2K, IIS. Everything worked fine.
As I needed MySQL new features (multiple recordsets), I followed the suggestions of both php.net and mysql.com and placed mysql.com provided client library libmysql.dll (version 5) into /system32.
After restarting web server, get the following error at first php-file request: 
PHP Startup: Unable to load dynamic library 'c:\php\ext\php_mysql.dll' - The specified procedure could not be found.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-09 08:57 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2004-03-09 12:18 UTC] edink@php.net
Newer snapshots contain php_mysqli.dll and libmysqli.dll which should be used to get newer functionality with mysql. Old mysql extension is not going to be changed from using 3.x version of the client library.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 19:01:28 2024 UTC