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:

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.


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

[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



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

[2007-09-25 12:17:20] nektarin at gmail dot com

Description:
------------
I get "Fatal error: Call to undefined function mysql_connect()" when 
using php 5.2.4 with the distributed php_mysql.dll. 

When I change to the 
php_mysql.dll from PHP 5.2.2 it works perfect. Ie. Everything is php 
5.2.4 except that I am using the php_mysql.dll from PHP 5.2.2

Reproduce code:
---------------
$db = mysql_connect("localhost","root","");

Actual result:
--------------
Fatal error: Call to undefined function mysql_connect()







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


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

Reply via email to