• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 83856
  • Last Modified:

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

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
rockmansattic
Asked:
rockmansattic
  • 3
  • 2
1 Solution
 
hernst42Commented:
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
 
rockmansatticAuthor Commented:
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
 
hernst42Commented:
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
 
rockmansatticAuthor Commented:
I am working on getting that file, I am at work and cannot download the whole thing.

Thanks

Rockman
0
 
rockmansatticAuthor Commented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now