Jump to content

Extensions Not Loading :: Unable to initialize module


Recommended Posts

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.