Page 1 of 1

Unable to initialize module

Posted: Thu Nov 12, 2009 7:07 am
by greg7
Hi,i use WAMP v 2.0i with php 5.3.0 and i'm trying to install lpsovler. When i start wamp i get the following warning,

Code: Select all

Unable to initialize module
Module compiled with  module API=20060613
PHP compiled with module API=20090626
These options need to match


Do i have to downgrade php version? because before the upgrade i have it installed and it was running fine!
It is about lpsolver55.dll, so any help from someone who have done it before or have faced similar problems it would be greatful!

Re: Unable to initialize module

Posted: Thu Nov 12, 2009 11:02 am
by jackpf
It means the dll was compiled with a different version of PHP. It's the same for my extension...it won't run on 5.3 since I compiled it with 5.2.9.

I'm not sure if there's a way around it, I haven't really bothered to research it yet.

But look for the right version. If you can't find one then yeah...i guess you need to downgrade. Or compile the extension with your PHP version.

Re: Unable to initialize module

Posted: Thu Nov 12, 2009 11:22 am
by greg7
Thanks for your relpy, i downloaded v 5.2.9 as addon, i choosed this for configurating the server, but now when i restart services i get

Code: Select all

Unable to load dynamic library 'C:\wamp\bin\php\php5.2.9\ext\php_pdo_mysql.dll' - The specified module could not be found
the same for php_pdo_sqlite.dll, but i checked the extension_dir and that dll exist, any ideas?

Re: Unable to initialize module

Posted: Thu Nov 12, 2009 12:14 pm
by jackpf
I get stuff like that as well...but the extensions load fine so i haven't bothered trying to fix it.

Re: Unable to initialize module

Posted: Sun Nov 15, 2009 4:57 pm
by greg7
ok, solved! I downloaded php version 5.2.9-2 and i don't get the warnings anymore.