Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-14 Thread Johannes Schlüter
On Sun, 2010-11-14 at 01:16 +0200, Jani Taskinen wrote: > PHP 5.3 > propably will not get this, RM should decide. :) If you are sure it doesn't break stuff go for it! Less distributors doing strange things. johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visi

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-14 Thread Pierre Joye
hi, On Sun, Nov 14, 2010 at 12:16 AM, Jani Taskinen wrote: > Above patch does work. And it's also committed to trunk now. PHP 5.3 > propably will not get this, RM should decide. :) Thanks for the update. Please add a note/explanation about this change in the UPGRADING and UPGRADING.INTERNALS (f

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-13 Thread Jani Taskinen
13.11.2010 23:24, Matti Bickel kirjoitti: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/13/2010 08:50 PM, Stanley Sufficool wrote: 2010/11/13 Jérôme Loyet: Le 12 novembre 2010 23:57, Jani Taskinen a écrit : I updated the patch: http://pecl.php.net/~jani/patches/multi-sapi.patch Now

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-13 Thread Matti Bickel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/13/2010 08:50 PM, Stanley Sufficool wrote: > 2010/11/13 Jérôme Loyet : >> Le 12 novembre 2010 23:57, Jani Taskinen a écrit : >>> I updated the patch: >>> >>> http://pecl.php.net/~jani/patches/multi-sapi.patch >>> >>> Now it will fail if no sapi

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-13 Thread Jérôme Loyet
Le 13 novembre 2010 20:50, Stanley Sufficool a écrit : > 2010/11/13 Jérôme Loyet : >> Le 12 novembre 2010 23:57, Jani Taskinen a écrit : >>> I updated the patch: >>> >>>  http://pecl.php.net/~jani/patches/multi-sapi.patch >>> >>> Now it will fail if no sapi/binary is selected. And "make install"

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-13 Thread Stanley Sufficool
2010/11/13 Jérôme Loyet : > Le 12 novembre 2010 23:57, Jani Taskinen a écrit : >> I updated the patch: >> >>  http://pecl.php.net/~jani/patches/multi-sapi.patch >> >> Now it will fail if no sapi/binary is selected. And "make install" will now >> also install them all. :) > > it seems to work well.

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-13 Thread Jérôme Loyet
Le 12 novembre 2010 23:57, Jani Taskinen a écrit : > I updated the patch: > >  http://pecl.php.net/~jani/patches/multi-sapi.patch > > Now it will fail if no sapi/binary is selected. And "make install" will now > also install them all. :) it seems to work well. > > The question remains: into what

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-12 Thread James Butler
Just an uninformed thought, trunk? This isn't a problem in the runtime, just an installation annoyance for those who compile from source. Leave the patch for people who want/need it for current versions. I imagine if this has been a major problem for people (and I don't) they will have been comp

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-12 Thread Jani Taskinen
I updated the patch: http://pecl.php.net/~jani/patches/multi-sapi.patch Now it will fail if no sapi/binary is selected. And "make install" will now also install them all. :) The question remains: into what branches can I commit it? Some might think it's not a bug fix.. ;) --Jani 12.11.20

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-12 Thread Jérôme Loyet
2010/11/12 Jani Taskinen : > > And here's the patch: > >  http://pecl.php.net/~jani/patches/multi-sapi.patch > > Note: It's not quite finished, the 'make install' might not work.. ;) After a very quick try, there is a missing case: if not SAPI and no binaries have been selected, we should trigger

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-11 Thread Jani Taskinen
And here's the patch: http://pecl.php.net/~jani/patches/multi-sapi.patch Note: It's not quite finished, the 'make install' might not work.. ;) --Jani 12.11.2010 2:40, Jani Taskinen kirjoitti: I'm working on an improvement on how all binaries are build thus enabling building all such in o

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-11 Thread Jani Taskinen
I'm working on an improvement on how all binaries are build thus enabling building all such in one go if one wants to. I already added a check for multiple sapi _modules_ being build, it will error out. Stay tuned, I'll post the patch once I've tested it a bit. --Jani 12.11.2010 0:03, Jérô

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-11 Thread Kalle Sommer Nielsen
2010/11/12 Johannes Schlüter : > Some SAPIs might enable it (IIS, apache if threading is detected etc.) > while in many cases out would be better without. Then wouldn't it be logically for SAPI's that require ZTS to be built error out in their config*.m4 files unless the --enable-zts option is use

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-11 Thread Johannes Schlüter
On Thu, 2010-11-11 at 23:03 +0100, Jérôme Loyet wrote: > > Something called ZTS also comes to my mind.. > > It's not the first time ZTS comes in the discution about multiple > SAPI. I've made some tests and looked into the code of the build > chain, but I can't see how it's related. Maybe someone

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-11 Thread Jérôme Loyet
2010/11/11 Jani Taskinen : > 11.11.2010 18:46, Kalle Sommer Nielsen kirjoitti: >> >> Hi Jérôme >> >> 2010/11/11 Jérôme Loyet: >>> >>> If this is a normal behaviour, we should add an error at configure >>> telling that only one SAPI is supported at once. >>> It not, we should correct it. >>> >>> Did

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-11 Thread Jani Taskinen
11.11.2010 18:46, Kalle Sommer Nielsen kirjoitti: Hi Jérôme 2010/11/11 Jérôme Loyet: If this is a normal behaviour, we should add an error at configure telling that only one SAPI is supported at once. It not, we should correct it. Did I miss something ? On Windows we have no problems in comp

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-11 Thread Johannes Schlüter
Hi, On Thu, 2010-11-11 at 17:36 +0100, Jérôme Loyet wrote: > there is several bug reports about having problem compiling differents > SAPI at once. > > http://bugs.php.net/52419 > http://bugs.php.net/48989 > http://bugs.php.net/53271 > > I'm also experiencing the same problem. CLI can be compile

Re: [PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-11 Thread Kalle Sommer Nielsen
Hi Jérôme 2010/11/11 Jérôme Loyet : > If this is a normal behaviour, we should add an error at configure > telling that only one SAPI is supported at once. > It not, we should correct it. > > Did I miss something ? On Windows we have no problems in compiling multiple SAPI's using one ./configure,

[PHP-DEV] [PHP] multiple sapi (multiple bug reports)

2010-11-11 Thread Jérôme Loyet
Hi guys, there is several bug reports about having problem compiling differents SAPI at once. http://bugs.php.net/52419 http://bugs.php.net/48989 http://bugs.php.net/53271 I'm also experiencing the same problem. CLI can be compiled and build with any other SAPI. But only one other SAPI could be