Re: [PHP-DEV] mysqlnd as a shared extension ?

2009-08-18 Thread Johannes Schlüter
Hi, On Mon, 2009-08-17 at 19:12 +0200, Remi Collet wrote: My goal will be to provides both solutions (libmysql and mysqlnd) to be able to quickly switch from one to the other (for tests / benchmark) Like others said I'd go with different static builds - it's not like PHP would take ages to

[PHP-DEV] mysqlnd as a shared extension ?

2009-08-17 Thread Remi Collet
Hi, Building 5.3.1 snapshot with options --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-pdo-mysql=shared,mysqlnd create 3 .so files, ok. But mysqlnd extension still build as static within php core. Is it a way to build mysqlnd as a shared extension ? Don't

Re: [PHP-DEV] mysqlnd as a shared extension ?

2009-08-17 Thread Jani Taskinen
On 08/17/2009 08:12 PM, Remi Collet wrote: Hi, Building 5.3.1 snapshot with options --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-pdo-mysql=shared,mysqlnd create 3 .so files, ok. But mysqlnd extension still build as static within php core. It's not an

Re: [PHP-DEV] mysqlnd as a shared extension ?

2009-08-17 Thread Ulf Wendel
Remi Collet schrieb: My goal will be to provides both solutions (libmysql and mysqlnd) to be able to quickly switch from one to the other (for tests / benchmark) Any idea / solution ? Andrey might have. CC'ing him. P.S. main question is probably, should we use mysqlnd under linux ?

Re: [PHP-DEV] mysqlnd as a shared extension ?

2009-08-17 Thread Tjerk Anne Meesters
Well, if you're doing speed comparisons why not just compile both mysqlnd and mysql(i) as static? ;-) On 8/18/09, Remi Collet fed...@famillecollet.com wrote: Hi, Building 5.3.1 snapshot with options --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd