By Vc Developer on
I read most of the threads on my search and couldn't find a solution for my problem. I have Drupal 6.15 working find on my openSuSe 11.2 and I ran into this problem "Unable to load dynamic library" while installing Apache 2.2.14 and php 5.2.10 on Windows XP Pro.
My MySql server is running on my openSuSe Server and Drupal on the Windows is pointing there. These are the error messages I'm getting:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_mcrypt.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_mhash.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_mysqli.dll' - The specified module could not be found.\r\n in Unknown on line 0
What do I need to correct this?
Comments
If you aren't sure how to
If you aren't sure how to install Apache and PHP (plus the missing extensions), I suggest using something like WAMP which gives you a hamburger with the lot as an added bonus.
Either that, or check php.net for installation instructions for mcrypt, mhash, mysql, and mysqli.
EDIT: also, double check you've configured the PHP extensions folder correctly ... the extensions "might" be there but in a different location.
Found the problem! It was
Found the problem! It was the long file name "C:\Program Files\PHP\ext" where php installs the dll's.. I moved it to "C:\PHP". This should be fixed by them. I wonder if there aware of this...
Is this available from phpinfo()
I'm just trying to figure out if I've got the same problem as you have. Unfortunately, it's not on a WAMP install I can control.