Unable to initialize module

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
greg7
Forum Commoner
Posts: 32
Joined: Tue Oct 13, 2009 7:38 am

Unable to initialize module

Post 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!
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Unable to initialize module

Post 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.
greg7
Forum Commoner
Posts: 32
Joined: Tue Oct 13, 2009 7:38 am

Re: Unable to initialize module

Post 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?
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Unable to initialize module

Post by jackpf »

I get stuff like that as well...but the extensions load fine so i haven't bothered trying to fix it.
greg7
Forum Commoner
Posts: 32
Joined: Tue Oct 13, 2009 7:38 am

Re: Unable to initialize module

Post by greg7 »

ok, solved! I downloaded php version 5.2.9-2 and i don't get the warnings anymore.
Post Reply