ID:               24389
 Comment by:       admin at arkbl dot qc dot ca
 Reported By:      philip at cornado dot com
 Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: Windows
 PHP Version:      5CVS-2003-06-29 (dev)
 Assigned To:      edink
 New Comment:

Description
-----------

I got "PHP Startup: Unable to load dynamic library
'D:/root/Apache/PHP5/ext/php_mysql.dll' - The specified module is not
found" (something like, I'm french)
And get "Unaviable function" statement when I open a file.

but php_mysql.dll exist

I put libmysl.dll in system32 and windows, didn't work

I installed PHP5.0.1 on XP Home SP2 with the Win32.zip the the
PHP5-lastest version
I use Apache 1.3.31 and MySQL 4.0.21

Everything works exept Mysql functions, even php_pdf.dll is able to
load.


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

[2004-08-05 18:07:10] kent at ioflux dot com

I had a similar issue here; I believe the discrepancies in reports is
probably due to the PATH Windows Environment Variable which is how DLLs
are searched for (I think...)

Anyway: I installed ZDS 3.5.1 and received this problem... again. The
fix was to:

RENAME to something benign:

C:\Program Files\Zend\php\libMySQL.dll (196KB)

COPY "new" libmysql.dll from this archive:

http://snaps.php.net/win32/php5-win32-latest.zip

I ended up *NOT* having to put this in my SYSTEM32 folder. As a
precaution, I also removed all libmysql.dll references from in there
(just in case).

Also, an easy way to test this is to double click on PHP5.EXE (or
php.exe) depending on your installation. You'll get a better error
message (unable to find procedure mysql_drop_db) than the Apache one
(The specified procedure could not be found).

Ahh, the wind blows.

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

[2004-01-17 08:43:00] dave at puseyuk dot co dot uk

What you need to do is uncomment the mysql in the extensions section of
php.ini and then copy d:\php\dlls\libmySQL.dll to d:\windows\

This works on XP Pro using PHP 5.0.0b3

Note: You may need to change d:\ to match the drive letter you are
using!

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

[2004-01-16 20:57:35] swissarmygun at hotmail dot com

I can second peter's comment as it worked for many after an hour of
frustration, maybe this should be added to the database issues.

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

[2003-12-31 00:15:57] peter at kitten dot net

I got this error initially but using the extension method is easy. I
didn't copy any dlls anywhere - just left the php_mysql.dll in
extensions and uncommented the reference to it in the extensions
section of my php.ini - voila!

The only one you'd ever copy would be the libmySQL if you decided to
use that rather than the extension I guess.

using PHP 5.0.0b3 and mysql 4.0.17 - all works fine.

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

[2003-12-23 05:55:24] jorispeeraer at tiscali dot be

I've got php5b3, I copied libmysql.dll and php_mysql to system32, but I
always get the same error: "Fatal error: Call to undefined function
mysql_connect()". Is it still a bug in the beta-3 version, or do I
something wrong?

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

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/24389

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

Reply via email to