ID:               42757
 Comment by:       raiko at akubi dot de
 Reported By:      nektarin at gmail dot com
 Status:           Feedback
 Bug Type:         MySQL related
 Operating System: Win XP
 PHP Version:      5.2.4
 New Comment:

>From your phpinfo page what does "Client API version" for MySQL show?
>
>The MySQL extension for PHP is compiled against 5.0.45, if you have
an
>older libmysql.dll in your path then it will try to use that.

Thanks for the hint, you were right.

Apparently, there was an old version of libmysql.dll left in the
system32 directory (ver. 4.1.x). After replacing it with the an
up-to-date version everything works fine with the 5.2.5 php_mysql.dll .


Previous Comments:
------------------------------------------------------------------------

[2007-09-27 00:06:26] [EMAIL PROTECTED]

>From your phpinfo page what does "Client API version" for MySQL show?

The MySQL extension for PHP is compiled against 5.0.45, if you have an
older libmysql.dll in your path then it will try to use that.



------------------------------------------------------------------------

[2007-09-26 22:30:06] raiko at akubi dot de

The same bug occured when I upgraded from 5.2.2 to 5.2.4 earlier.

The error message I got in the error.log was:

---
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\Server\\php\\ext\\php_mysql.dll' - Die angegebene Prozedur wurde
nicht gefunden.\r\n in Unknown on line 0
---

Using the DLL from the snapshot link that was posted did not fix it.

Replacing the DLL with the 5.2.2 version fixed it, the server starts
normally and all MySQL functions work properly.

------------------------------------------------------------------------

[2007-09-25 21:15:43] [EMAIL PROTECTED]

And you have replaced the existing dlls with the ones that come with
the snapshot package?

------------------------------------------------------------------------

[2007-09-25 14:58:53] nektarin at gmail dot com

Still doesn't work with latest release (5.2.5-dev). It has the same 
symptoms; the php_mysql.dll does not load. phpinfo() has no information

on mysql except the one in my PATH string...

Again, if I copy the php_mysql.dll from the PHP 5.2.2 release to the 
/ext folder of the PHP 5.2.5-dev installation, everything works like a

charm.

------------------------------------------------------------------------

[2007-09-25 14:43:24] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/42757

-- 
Edit this bug report at http://bugs.php.net/?id=42757&edit=1

Reply via email to