Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Philip Olson
Erm, no they aren't in the upgrade guide, because the upgrade guide is aimed at user issues and this was seen primarily as an extension author issue. Do people generally think the module and extension API bumps should be in there? Rasmus was talking about the internals change and ask if th

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Pierre
Hello, On 9/14/06, Steph Fox <[EMAIL PROTECTED]> wrote: Not at all. The upgrade guide explains the impact of the more important NEWS file changes at user level, and workarounds where necessary. The target audience for *THIS* additon. > As long as there is a notice in the 5.2 ugprade me, I'm

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Steph Fox
Pierre, The question was about module API change, which is transparent to anyone mixing and matching PHP and module versions (which incidentally they shouldn't be doing in the first place). The extension API doesn't matter to anyone but extension authors... Which are the target audience for

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Steph Fox
Hi Michael, Otherwise the only thing I really care about is that the minor number be incremented whenever ZEND_MODULE_API_NO changes. Obviously the installer needs that to pick the right module to install based on phpversion(). Bug it? :) (against the installer I mean) Mike -- Michael B

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Michael B Allen
On Thu, 14 Sep 2006 19:25:49 +0200 "Steph Fox" <[EMAIL PROTECTED]> wrote: > Hi Michael, Pierre - > > Erm, no they aren't in the upgrade guide, because the upgrade guide is aimed > at user issues and this was seen primarily as an extension author issue. Do > people generally think the module and

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Pierre
Hello, On 9/14/06, Steph Fox <[EMAIL PROTECTED]> wrote: Huh? The question was about module API change, which is transparent to anyone mixing and matching PHP and module versions (which incidentally they shouldn't be doing in the first place). The extension API doesn't matter to anyone but exten

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Steph Fox
reference it from the upgrade file. Any objections to that approach? - Steph - Original Message - From: "Pierre" <[EMAIL PROTECTED]> To: "Steph Fox" <[EMAIL PROTECTED]> Cc: "Michael B Allen" <[EMAIL PROTECTED]>; Sent: Thursday, September

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Pierre
Hello, On 9/14/06, Steph Fox <[EMAIL PROTECTED]> wrote: OK, has anyone enough time to commit this please? I left the extension API change out of it though (the ME_* support) - does that really need to go in there too? This thread justifies the addition (and all other about the same topic :).

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Steph Fox
t; Cc: "Michael B Allen" <[EMAIL PROTECTED]>; Sent: Thursday, September 14, 2006 7:39 PM Subject: Re: [PHP-DEV] Module API Changes Hello, On 9/14/06, Steph Fox <[EMAIL PROTECTED]> wrote: Hi Michael, Pierre - Erm, no they aren't in the upgrade guide, because t

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Pierre
Hello, On 9/14/06, Steph Fox <[EMAIL PROTECTED]> wrote: Hi Michael, Pierre - Erm, no they aren't in the upgrade guide, because the upgrade guide is aimed at user issues and this was seen primarily as an extension author issue. Do people generally think the module and extension API bumps should

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Steph Fox
Hi Michael, Pierre - Erm, no they aren't in the upgrade guide, because the upgrade guide is aimed at user issues and this was seen primarily as an extension author issue. Do people generally think the module and extension API bumps should be in there? - Steph Hello, On 9/14/06, Michael B

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Pierre
Hello, On 9/14/06, Michael B Allen <[EMAIL PROTECTED]> wrote: On Thu, 14 Sep 2006 16:49:16 +0200 Pierre <[EMAIL PROTECTED]> wrote: > Hello, > > On 9/14/06, Michael B Allen <[EMAIL PROTECTED]> wrote: > > > Are there any other module API changes between 4 and the current version > > of PHP that w

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Michael B Allen
On Thu, 14 Sep 2006 16:49:16 +0200 Pierre <[EMAIL PROTECTED]> wrote: > Hello, > > On 9/14/06, Michael B Allen <[EMAIL PROTECTED]> wrote: > > > Are there any other module API changes between 4 and the current version > > of PHP that would cause my module to fail to load? > > PHP internals API ha

Re: [PHP-DEV] Module API Changes

2006-09-14 Thread Pierre
Hello, On 9/14/06, Michael B Allen <[EMAIL PROTECTED]> wrote: Are there any other module API changes between 4 and the current version of PHP that would cause my module to fail to load? PHP internals API has many changes between two major versions. Don't expect a module compiled for php4 to b

[PHP-DEV] Module API Changes

2006-09-14 Thread Michael B Allen
I see the module API has changed between 5.0 and 5.1. This caused my module to fail to load with: PHP Warning: PHP Startup: z\x17\xfc\xb6d\x12\xfc\xb6: Unable to initialize module Module compiled with module API=20041030, debug=0, thread-safety=0 PHPcompiled with module API=20050922, debug=0,