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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.