php-windows Digest 31 Mar 2011 06:28:48 -0000 Issue 3935
Topics (messages 30556 through 30572):
Re: Compiling PHP_YAZ with PHP 5.3
30556 by: Pierre Joye
30557 by: Richard Quadling
30558 by: Maciej Jaros
PHP Startup: Unable to initialize module
30559 by: Curtis Tammany
30560 by: Sascha Meyer
30561 by: Pierre Joye
30562 by: Curtis Tammany
30563 by: Pierre Joye
30564 by: Maciej Jaros
30565 by: Curtis Tammany
30566 by: Pierre Joye
30567 by: Curtis Tammany
30568 by: Pierre Joye
30569 by: Sascha Meyer
30570 by: Pierre Joye
30571 by: Sascha Meyer
30572 by: Kris Craig
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
hi,
See the previous discussion about that. Pretty much everything you
need, until we got our wiki back online.
Cheers,
On Wed, Mar 30, 2011 at 12:49 AM, Maciej Jaros <e...@wp.pl> wrote:
> Hi.
>
> I'm trying to compile PHP YAZ on Windows 7 32-bit with Visual Studio 2008
> Express. I've seen some of people on this list were succesful, but archives
> seem to be missing some of crucial e-mails... Or maybe just the wiki.php.net
> :-(.
>
> Anyway from various manuals on the web I got the following.
>
> I have:
> * YAZ (4.1.7) - installed (full install with sources) to c:\Program
> Files\YAZ
> * PHP (5.3.6 TS) sources in c:\PHP\dev
> * PHP_YAZ (1.0.14 from Pecl page) in c:\PHP\dev\ext\yaz
> * bison and flex in c:\PHP\dev_extra
> * and of course Visual Studio Express 2008 installed
>
> I've changed c:\PHP\dev\ext\yaz\config.w32 so that it checks for yaz4.lib
> rather then yaz3.lib
>
> I run VC9 express console and run:
> cd c:\PHP\dev
> set PATH=%PATH%;c:\PHP\dev_extra
> set PHP_YAZ=c:\Program Files\YAZ\
> buildconf.bat
> configure --disable-all --enable-cli --with-yaz=shared
>
> Still I get:
> Checking for yaz/yaz-version.h ... <not found>
> Checking for yaz/yaz-version.h ... <not found>
>
> I've tried setting PHP_YAZ=c:\Program Files\YAZ\include\, but that don't
> help either. It does help when I set:
> set INCLUDE=%INCLUDE%;c:\Program Files\YAZ\include\
> But then it says:
> Problem reading true\yaz\yaz-version.h
> So then I change configure.js and manually set (just before
> file_get_contents(yaz_h...)):
> yaz_h = "c:\\Program Files\\YAZ\\include\\";
> and set (just before CHECK_LIB("yaz4.lib"...)):
> PHP_YAZ = "c:\\Program Files\\YAZ\\lib\\";
>
> And OK, then nmake works, but then again I know there just have to be a
> better way ;-).
>
> I'd like to make some step-by-step instructions on how to build YAZ for PHP
> 5.3 and this just seem to be a bit too much.
>
> Regards,
> Nux.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
On 29 March 2011 23:49, Maciej Jaros <e...@wp.pl> wrote:
> Hi.
>
> I'm trying to compile PHP YAZ on Windows 7 32-bit with Visual Studio 2008
> Express. I've seen some of people on this list were succesful, but archives
> seem to be missing some of crucial e-mails... Or maybe just the wiki.php.net
> :-(.
>
> Anyway from various manuals on the web I got the following.
>
> I have:
> * YAZ (4.1.7) - installed (full install with sources) to c:\Program
> Files\YAZ
> * PHP (5.3.6 TS) sources in c:\PHP\dev
> * PHP_YAZ (1.0.14 from Pecl page) in c:\PHP\dev\ext\yaz
> * bison and flex in c:\PHP\dev_extra
> * and of course Visual Studio Express 2008 installed
>
> I've changed c:\PHP\dev\ext\yaz\config.w32 so that it checks for yaz4.lib
> rather then yaz3.lib
>
> I run VC9 express console and run:
> cd c:\PHP\dev
> set PATH=%PATH%;c:\PHP\dev_extra
> set PHP_YAZ=c:\Program Files\YAZ\
> buildconf.bat
> configure --disable-all --enable-cli --with-yaz=shared
>
> Still I get:
> Checking for yaz/yaz-version.h ... <not found>
> Checking for yaz/yaz-version.h ... <not found>
>
> I've tried setting PHP_YAZ=c:\Program Files\YAZ\include\, but that don't
> help either. It does help when I set:
> set INCLUDE=%INCLUDE%;c:\Program Files\YAZ\include\
> But then it says:
> Problem reading true\yaz\yaz-version.h
> So then I change configure.js and manually set (just before
> file_get_contents(yaz_h...)):
> yaz_h = "c:\\Program Files\\YAZ\\include\\";
> and set (just before CHECK_LIB("yaz4.lib"...)):
> PHP_YAZ = "c:\\Program Files\\YAZ\\lib\\";
>
> And OK, then nmake works, but then again I know there just have to be a
> better way ;-).
>
> I'd like to make some step-by-step instructions on how to build YAZ for PHP
> 5.3 and this just seem to be a bit too much.
>
> Regards,
> Nux.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Is YAZ and/or the YAZ libraries thread safe?
I build locally for CLI and FastCGI, so a non-thread-safe build is
better for me - as I understand things, a non-thread-safe build will
be faster than a thread-safe build.
My instructions ...
1 - Install YAZ and add the C:\Program Files\YAZ\bin directory to your
path. The compiled extension needs access to the Yaz code at run time.
2 - Copy C:\Program Files\YAZ\include and C:\Program Files\YAZ\lib
directories to your vc9\x86\deps directory (preserve the YAZ
subdirectory in the include directory).
3 - Checkout pecl/yaz/trunk to the vc9\x86\pecl\yaz (or the branch or
tag that you want to build).
4 - Edit the yaz\config.w32 to use the V4 library - though, it may be
worth building against the v3 library first to see if all the tests
pass - I get some failures.
5 - Run buildconf. This will make configure.js aware of the yaz extension.
6 - Run configure with --enable-yaz=shared (and any other options you
want. Maybe --disable-zts)
7 - Once built, the extension will be in Release\php_yaz.dll
(non-thread-safe) or Release_TS\php_yaz.dll (thread-safe). Copy this
to your C:\PHP5\ext directory. Make sure you copy the right one as you
cannot mix thread safety.
8 - Try ...
php -ddisplay_startup_errors=1 -m
to see if the module is recognised correctly.
See also http://news.php.net/php.internals.win 764 to 776 and
http://news.php.net/php.windows 30524+
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--- End Message ---
--- Begin Message ---
Richard Quadling (2011-03-30 11:33):
Is YAZ and/or the YAZ libraries thread safe?
I was trying to compile TS.
I build locally for CLI and FastCGI, so a non-thread-safe build is
better for me - as I understand things, a non-thread-safe build will
be faster than a thread-safe build.
My instructions ...
1 - Install YAZ and add the C:\Program Files\YAZ\bin directory to your
path. The compiled extension needs access to the Yaz code at run time.
2 - Copy C:\Program Files\YAZ\include and C:\Program Files\YAZ\lib
directories to your vc9\x86\deps directory (preserve the YAZ
subdirectory in the include directory).
Yes, this is were I got stuck with the previous e-mails on the list.
I've got different directory structure in my distribution of PHP (using
PHP 5.3)... But now I've noticed that configuration builder magically
expects deps directory to be above source directory. I'm guessing this
is explained on the wiki... Anyway Yaz 4 seems to work fine for me.
Thanks for your help,
Nux.
--- End Message ---
--- Begin Message ---
Hello-
I've finnally got PHP 5.3.6 running under Apache 2.2.17 (on Windows). PHP
came from windows.php.net.
I'm seeing these warnings in the PHP log:
[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
These options need to match
in Unknown on line 0
[30-Mar-2011 12:10:02] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_curl.dll' - The specified procedure could not be
found.
in Unknown on line 0
[30-Mar-2011 12:10:02] PHP Warning: PHP Startup: gd: 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
These options need to match
in Unknown on line 0
[30-Mar-2011 12:10:02] PHP Warning: PHP Startup: gettext: 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
These options need to match
in Unknown on line 0
[30-Mar-2011 12:10:02] PHP Warning: PHP Startup: gmp: 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
These options need to match
in Unknown on line 0
[30-Mar-2011 12:10:02] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_imap.dll' - The specified procedure could not be
found.
in Unknown on line 0
[30-Mar-2011 12:10:03] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_mbstring.dll' - The specified procedure could not
be found.
in Unknown on line 0
[30-Mar-2011 12:10:03] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_mysql.dll' - The specified procedure could not be
found.
in Unknown on line 0
[30-Mar-2011 12:10:04] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_mysqli.dll' - The specified procedure could not
be found.
in Unknown on line 0
[30-Mar-2011 12:10:04] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_openssl.dll' - The specified procedure could not
be found.
in Unknown on line 0
[30-Mar-2011 12:10:05] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_pdo_mysql.dll' - The specified procedure could
not be found.
in Unknown on line 0
[30-Mar-2011 12:10:05] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_pdo_odbc.dll' - The specified procedure could not
be found.
in Unknown on line 0
[30-Mar-2011 12:10:06] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_pdo_sqlite.dll' - The specified procedure could
not be found.
in Unknown on line 0
[30-Mar-2011 12:10:06] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_pgsql.dll' - The specified procedure could not be
found.
in Unknown on line 0
[30-Mar-2011 12:10:07] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_soap.dll' - The specified procedure could not be
found.
in Unknown on line 0
[30-Mar-2011 12:10:07] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_sockets.dll' - The specified procedure could not
be found.
in Unknown on line 0
[30-Mar-2011 12:10:07] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_sqlite3.dll' - The specified procedure could not
be found.
in Unknown on line 0
[30-Mar-2011 12:10:07] PHP Warning: PHP Startup: tidy: 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
These options need to match
in Unknown on line 0
[30-Mar-2011 12:10:08] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_xmlrpc.dll' - The specified procedure could not
be found.
in Unknown on line 0
[30-Mar-2011 12:10:08] PHP Warning: PHP Startup: Unable to load dynamic
library 'C:\PHP536\ext\php_exif.dll' - The specified module could not be
found.
in Unknown on line 0
All of the DLLs are in the ext folder and extension_dir is set correctly.
The VC9 redistributable is also installed.
What is going on??
--- End Message ---
--- Begin Message ---
Hi Curtis,
Curtis wrote:
I've finnally got PHP 5.3.6 running under Apache 2.2.17 (on Windows). PHP
came from windows.php.net.
...
All of the DLLs are in the ext folder and extension_dir is set correctly.
The VC9 redistributable is also installed.
What is going on??
Just have a look at the side bar on http://windows.php.net where it says
which version to use :-)
VC9 builds are for IIS, VC6 for Apache, so you need to match both the
compiler version and PHP version.
Regards,
Sascha
--- End Message ---
--- Begin Message ---
hi,
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
To me it looks like you are trying to load a php 5.3 extension using php 5.2.
On Wed, Mar 30, 2011 at 6:28 PM, Curtis Tammany <curtis.tamm...@urs.com> wrote:
> Hello-
>
> I've finnally got PHP 5.3.6 running under Apache 2.2.17 (on Windows). PHP
> came from windows.php.net.
>
> I'm seeing these warnings in the PHP log:
>
> [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
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
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..
"Pierre Joye" <pierre....@gmail.com> wrote in message
news:AANLkTi=zkyY58WSghM9d=urMUPBTSsgfqk=20nyou...@mail.gmail.com...
hi,
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
To me it looks like you are trying to load a php 5.3 extension using php
5.2.
On Wed, Mar 30, 2011 at 6:28 PM, Curtis Tammany <curtis.tamm...@urs.com>
wrote:
> Hello-
>
> I've finnally got PHP 5.3.6 running under Apache 2.2.17 (on Windows). PHP
> came from windows.php.net.
>
> I'm seeing these warnings in the PHP log:
>
> [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
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
sorry but you are. See the API versions.
On Wed, Mar 30, 2011 at 7:33 PM, Curtis Tammany <curtis.tamm...@urs.com> wrote:
> 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..
>
>
> "Pierre Joye" <pierre....@gmail.com> wrote in message
> news:AANLkTi=zkyY58WSghM9d=urMUPBTSsgfqk=20nyou...@mail.gmail.com...
> hi,
>
> Module compiled with module API=20090626, debug=0, thread-safety=1
> PHP compiled with module API=20060613, debug=0, thread-safety=1
>
> To me it looks like you are trying to load a php 5.3 extension using php
> 5.2.
>
>
>
> On Wed, Mar 30, 2011 at 6:28 PM, Curtis Tammany <curtis.tamm...@urs.com>
> wrote:
>> Hello-
>>
>> I've finnally got PHP 5.3.6 running under Apache 2.2.17 (on Windows). PHP
>> came from windows.php.net.
>>
>> I'm seeing these warnings in the PHP log:
>>
>> [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
>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
Dnia 30-03-2011 o 19:33:58 "Curtis Tammany" <curtis.tamm...@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
--- End Message ---
--- Begin Message ---
All of the files came from php-5.3.6-Win32-VC9-x86.msi
Check your package...
"Pierre Joye" <pierre....@gmail.com> wrote in message
news:AANLkTinJ=y4UJ3nRax=jx1unophn6k2gcklr4bc7v...@mail.gmail.com...
sorry but you are. See the API versions.
On Wed, Mar 30, 2011 at 7:33 PM, Curtis Tammany <curtis.tamm...@urs.com>
wrote:
> 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..
>
>
> "Pierre Joye" <pierre....@gmail.com> wrote in message
> news:AANLkTi=zkyY58WSghM9d=urMUPBTSsgfqk=20nyou...@mail.gmail.com...
> hi,
>
> Module compiled with module API=20090626, debug=0, thread-safety=1
> PHP compiled with module API=20060613, debug=0, thread-safety=1
>
> To me it looks like you are trying to load a php 5.3 extension using php
> 5.2.
>
>
>
> On Wed, Mar 30, 2011 at 6:28 PM, Curtis Tammany <curtis.tamm...@urs.com>
> wrote:
>> Hello-
>>
>> I've finnally got PHP 5.3.6 running under Apache 2.2.17 (on Windows). PHP
>> came from windows.php.net.
>>
>> I'm seeing these warnings in the PHP log:
>>
>> [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
>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
Again, that's simply not the case. We did check the packages. Double
check your config and be sure that a) you actually use 5.3.6 and b)
that you actually load 5.3's exts.
Cheers,
On Wed, Mar 30, 2011 at 7:47 PM, Curtis Tammany <curtis.tamm...@urs.com> wrote:
> All of the files came from php-5.3.6-Win32-VC9-x86.msi
>
> Check your package...
>
> "Pierre Joye" <pierre....@gmail.com> wrote in message
> news:AANLkTinJ=y4UJ3nRax=jx1unophn6k2gcklr4bc7v...@mail.gmail.com...
> sorry but you are. See the API versions.
>
> On Wed, Mar 30, 2011 at 7:33 PM, Curtis Tammany <curtis.tamm...@urs.com>
> wrote:
>> 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..
>>
>>
>> "Pierre Joye" <pierre....@gmail.com> wrote in message
>> news:AANLkTi=zkyY58WSghM9d=urMUPBTSsgfqk=20nyou...@mail.gmail.com...
>> hi,
>>
>> Module compiled with module API=20090626, debug=0, thread-safety=1
>> PHP compiled with module API=20060613, debug=0, thread-safety=1
>>
>> To me it looks like you are trying to load a php 5.3 extension using php
>> 5.2.
>>
>>
>>
>> On Wed, Mar 30, 2011 at 6:28 PM, Curtis Tammany <curtis.tamm...@urs.com>
>> wrote:
>>> Hello-
>>>
>>> I've finnally got PHP 5.3.6 running under Apache 2.2.17 (on Windows). PHP
>>> came from windows.php.net.
>>>
>>> I'm seeing these warnings in the PHP log:
>>>
>>> [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
>>
>> Cheers,
>> --
>> Pierre
>>
>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>>
>>
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
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"" <e...@wp.pl> wrote in message
news:op.vs53nvorbrp...@nuxlap7.chello.pl...
Dnia 30-03-2011 o 19:33:58 "Curtis Tammany" <curtis.tamm...@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
--- End Message ---
--- Begin Message ---
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.tamm...@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"" <e...@wp.pl> wrote in message
> news:op.vs53nvorbrp...@nuxlap7.chello.pl...
> Dnia 30-03-2011 o 19:33:58 "Curtis Tammany" <curtis.tamm...@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
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin 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.tamm...@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""<e...@wp.pl> wrote in message
news:op.vs53nvorbrp...@nuxlap7.chello.pl...
Dnia 30-03-2011 o 19:33:58 "Curtis Tammany"<curtis.tamm...@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
--- End Message ---
--- Begin Message ---
On Wed, Mar 30, 2011 at 8:27 PM, Sascha Meyer <harlequ...@gmx.de> wrote:
> 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.
For what I see in the error, it is the other way 'round. 5.2 is loaded
and trying to load 5.3 extensions.
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
Hi Pierre,
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.
For what I see in the error, it is the other way 'round. 5.2 is loaded
and trying to load 5.3 extensions.
right, httpd.conf points to the 5.3 bin, I somehow interpreted it in the
wrong way. I am still interested what phpinfo() gives us, I still think
that PATH or some other directives point to the wrong directory/files.
--- End Message ---
--- Begin Message ---
Have you checked your PATH? If you've installed a previous (i.e. 5.2.x)
version of PHP using the MSI installer earlier, then it's possible that the
install directory was never removed from your system PATH (the MSI installer
doesn't do this automatically as far as I know). It has been my experience
that this can lead to problems loading extensions from the correct location,
even if you specify the absolute path in php.ini.
I would recommend you remove any and all PHP installs from your global
system PATH, then add the path to your current 5.3.6 install.
If that doesn't work, I would suggest you run Process Monitor to get a
closer look at what exactly is happening when this error occurs (it's a free
download from Microsoft; just do a Google search for it if you don't already
have it). Add an "include" filter by process name for "php.exe", then clear
the display (if necessary) and make sure it's capturing events. Then try
reproducing your error again. This should tell you what's happening. If
you're not sure how to interpret the data, export it to CSV format and
upload to a webserver somewhere and post a link here, and I'd be happy to
take a look. =)
--Kris
-----Original Message-----
From: Pierre Joye [mailto:pierre....@gmail.com]
Sent: Wednesday, March 30, 2011 11:33 AM
To: Sascha Meyer
Cc: Curtis Tammany; php-wind...@lists.php.net
Subject: Re: [PHP-WIN] PHP Startup: Unable to initialize module
On Wed, Mar 30, 2011 at 8:27 PM, Sascha Meyer <harlequ...@gmx.de> wrote:
> 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.
For what I see in the error, it is the other way 'round. 5.2 is loaded
and trying to load 5.3 extensions.
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---