Link to home
Start Free TrialLog in
Avatar of rockmansattic
rockmansattic

asked on

"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
Avatar of hernst42
hernst42
Flag of Germany image

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
Avatar of rockmansattic
rockmansattic

ASKER

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
https://www.experts-exchange.com/questions/21131813/Local-IIS-will-not-allow-to-configure-home-directory.html

thanks


ASKER CERTIFIED SOLUTION
Avatar of hernst42
hernst42
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am working on getting that file, I am at work and cannot download the whole thing.

Thanks

Rockman
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