Solved

"unable to load dynamic library'./php_mysql.dll'

Posted on 2004-09-15
5
83,831 Views
Last Modified: 2013-12-13
I cant connect my DW to mysql since I installed IIS.
I also cant connect via straight code
I get this error:
PHP Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - The specified module could not be found. in Unknown on line 0

Dont know why, BUT I have this error when I run phpinfo

"unable to load dynamic library'./php_mysql.dll'

Anyone have any ideas?  Thank you.
Rockman
0
Comment
Question by:rockmansattic
  • 3
  • 2
5 Comments
 
LVL 48

Expert Comment

by:hernst42
ID: 12072122
did you make the correct settings for the extension-dir in your php.ini (typical located in c:\winnt or c:\windows) The error look loke you set your extension_dir to ./ change it ot something like:
c:\php\extensions (path whete the php_mysql.dll) is located
0
 
LVL 10

Author Comment

by:rockmansattic
ID: 12074919
thank you for your reply, but I have another question that has morphed into this one.
I dont have a php_mysql.dll file, I think that is one of the problems.
also, I dont have an extensions folder in my php directory?

more info on this here
http://www.experts-exchange.com/Web/Web_Servers/IIS/Q_21131813.html

thanks


0
 
LVL 48

Accepted Solution

by:
hernst42 earned 500 total points
ID: 12075061
If you don't have a php_mysql.dll download the windows zip of PHP there you can find that dll and you can unzip it to your extension-folder
0
 
LVL 10

Author Comment

by:rockmansattic
ID: 12075962
I am working on getting that file, I am at work and cannot download the whole thing.

Thanks

Rockman
0
 
LVL 10

Author Comment

by:rockmansattic
ID: 12079794
thank you, got me on the right track, had to do that, plus a copy/paste libmysql.dll into system32 folder (it HAD to be the newest version from the package) then change the extension folder.

Thanks again.

Rockman
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Insert values are dynamic 11 41
Blocking submission of a web-based form 6 20
Insert won't work due to space in column name 5 21
error log using ftp 7 40
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question