Solved

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

Posted on 2004-09-15
5
83,822 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now