Solved

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

Posted on 2004-09-15
5
83,843 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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.

696 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