Solved

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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.

856 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