Page 1 of 1
unable to load dynamic library C:\php5\php_mysql.dll
Posted: Mon Sep 04, 2006 3:25 pm
by clem_c_rock
Hello,
I have screwed up something on my php.ini file on a windows server and now I am getting this error: "unable to load dynamic library C:\php5\php_mysql.dll". Now, my PHP installation actually resides here: C:\PHP\ so, obviously, it's pointing to the wrong address.
Where do I change this so the program is looking in the right directory?
Thanks,
Clem C
Posted: Mon Sep 04, 2006 7:01 pm
by Ollie Saunders
Open your php.ini file in the PHP directory and change the extension_dir directive.
You'll need to enable the mb_string extension as well.
Posted: Mon Sep 04, 2006 7:20 pm
by RobertGonzalez
It sounds like you're loading an extension. Check your extension folder information in php.ini and make sure your extensions are in that folder.
Posted: Mon Sep 04, 2006 10:44 pm
by clem_c_rock
Well - looked in the php.ini file and it didn't even have the line "extension_dir" in it so I added it, checked to see if the php_mysql.dll was actually in the C:\PHP\extensions\ directory (which it was) and now I get the general error of: "Cannot load mysql extension".
I also didn't see any line w/ the mb_string extension in it anywhere?
Any ideas as to what to do now?
Posted: Tue Sep 05, 2006 1:20 am
by dibyendrah
I think extension_dir will always be there in php.ini commented.
Posted: Tue Sep 05, 2006 9:17 am
by clem_c_rock
Well something worked since I added that line but now I have another error which is: "Cannot load mysql extension" when I go to phpMyAdmin.
Posted: Thu Sep 07, 2006 11:59 pm
by RobertGonzalez
And the extension files are there and named appropriately using the correct cases?