Re: PHP Startup: Unable to initialize module

Sascha Meyer <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
Could you check which php.ini is loaded via phpinfo()? I assume you have 
a php.ini somewhere in your Windows directory pointing to the wrong 
directory.

@Pierre: thanks for the internal info about how to identify 5.2 vs 5.3 
extension, I didn't have a clue about how to interpret the module API 
versions.

Cheers!

Am 30.03.2011 20:01, schrieb Pierre Joye:
> ok. Let me start it again from scratch.
>
> [30-Mar-2011 12:09:59] PHP Warning:  PHP Startup: bz2: Unable to initialize
> module
> Module compiled with module API=20090626, debug=0, thread-safety=1
> PHP    compiled with module API=20060613, debug=0, thread-safety=1
>
> API=20060613 IS php 5.2, period. See:
>
> http://lxr.php.net/search?q=20060613+&project=PHP_5_2&defs=&refs=&path=&hist=
>
> About how and why you have 5.2 on your system and why it gets loaded,
> no idea. But that's the reason of this error message. The sooner you
> will consider it as a valid error, the sooner you will solve this
> rather simple thing.
>
> Cheers,
> On Wed, Mar 30, 2011 at 7:53 PM, Curtis Tammany<[email protected]>  wrote:
>> This is how it is in httpd.conf:
>>
>> #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>> PHPIniDir "C:/PHP536/"
>> LoadModule php5_module "C:/PHP536/php5apache2_2.dll"
>> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>> AddType application/x-httpd-php .php
>>
>> I had to upgrade to Apache 2.2.17 as it was the only version compiled with
>> VC9...
>>
>> Curtis
>>
>> ""Maciej Jaros""<[email protected]>  wrote in message
>> news:[email protected]...
>> Dnia 30-03-2011 o 19:33:58 "Curtis Tammany"<[email protected]>
>> napisał(a):
>>
>>> I had to upgrade to PHP 5.3.6 on a Windows environment.
>>> That was ONLY available on windows.php.net as a VC9 version (downloaded
>>> the
>>> Thread-safe installer)
>>> All of the dlls in the ext folder came with PHP 5.3.6
>>>
>>> I'm not mixing versions..
>>>
>> I think you might be suffering from Bug #54425.
>>
>> Check your httpd.conf - PHPIniDir and LoadModule php5_module should only
>> contain forward slashes.
>>
>> You might also check Apache Lounge version of Apache if you are not
>> already using it.
>>
>> --
>> Maciej "Nux" Jaros
>>
>>
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.