JustinK101 Posted December 27, 2007 Share Posted December 27, 2007 Just did a fresh install of php5 into windows 2003 standard x64. I am getting the following extension errors: [27-Dec-2007 14:15:52] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\SWsoft\Plesk\Additional\PleskPHP5\ext\php_mcrypt.dll' - The specified module could not be found. in Unknown on line 0 [27-Dec-2007 14:15:52] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\SWsoft\Plesk\Additional\PleskPHP5\ext\php_mysqli.dll' - The specified procedure could not be found. in Unknown on line 0 [27-Dec-2007 14:15:52] PHP Warning: PHP Startup: json: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match in Unknown on line 0 [27-Dec-2007 14:15:52] PHP Warning: PHP Startup: pdf: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match in Unknown on line 0 The frist is mcrypt. I know the dll exists, I am looking right at it, and the permissions are the same as the rest of the dlls in the directory. The second is mysqli. I don't know what is going on here as this is a standard included dll. What does it mean by: "The specified procedure could not be found". The last two json, and lib_pdf again I dont know what its talking about, something like different versions or something. Thanks for the help with these extensions. Quote Link to comment https://forums.phpfreaks.com/topic/83410-extensions-not-loading-unable-to-initialize-module/ Share on other sites More sharing options...
JustinK101 Posted December 27, 2007 Author Share Posted December 27, 2007 The most critical extension I need is: php_mysqli.dll. I dont get why php_mysql works, but php_mysqli does not. Quote Link to comment https://forums.phpfreaks.com/topic/83410-extensions-not-loading-unable-to-initialize-module/#findComment-424363 Share on other sites More sharing options...
JustinK101 Posted December 27, 2007 Author Share Posted December 27, 2007 Found the fix, I had to copy and OVERRIDE libmysql.dll from the c:\php folder into C:\WINDOWS\SysWOW64. The version in: C:\WINDOWS\SysWOW64 was old. Make sure you stop MySQL first. Once I copied the new version over and restarted Mysql and IIS, worked like a champ. Quote Link to comment https://forums.phpfreaks.com/topic/83410-extensions-not-loading-unable-to-initialize-module/#findComment-424374 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.