Re: PHP Startup: Unable to initialize module

From: Date: Wed, 30 Mar 2011 18:27:20 +0000
Subject: Re: PHP Startup: Unable to initialize module
References: 1 2 3 4 5 6  Groups: php.windows 
Request: Send a blank email to php-windows+get-30569@lists.php.net to get a copy of this message
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<curtis.tammany@urs.com> 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""<egil@wp.pl> wrote in message news:op.vs53nvorbrpvre@nuxlap7.chello.pl... Dnia 30-03-2011 o 19:33:58 "Curtis Tammany"<curtis.tammany@urs.com> 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


« previous php.windows (#30569) next »