Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-21 Thread Lester Caine
Rasmus Lerdorf wrote: mysqlnd is not a standalone extension at all. It is infrastructure code that needs to be linked into your PHP in order for extensions to use it. OK that is the key piece of information I was missing. I though we had got over the 'needs to be built in' and had made it

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-21 Thread Gustavo Lopes
Em 2012-08-21 10:41, Lester Caine escreveu: SO I simply assumed that was the case, it does not give an error message like other miss configurations do ... AH - JUST use --enable-mysqlnd=shared and don't add the mysqli shared module at the same time and the core build happily creates a shared

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-21 Thread Lester Caine
Gustavo Lopes wrote: So should I be updating that bug to the current state of play? That this is actually by design? Or create a new bug that states that '--enable-mysqlnd=shared' should not be allowed? Or is there some third position in this jigsaw? It usually helps that the extension you

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-21 Thread Gustavo Lopes
Em 2012-08-21 14:10, Lester Caine escreveu: Gustavo Lopes wrote: So should I be updating that bug to the current state of play? That this is actually by design? Or create a new bug that states that '--enable-mysqlnd=shared' should not be allowed? Or is there some third position in this jigsaw?

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-21 Thread Lester Caine
Gustavo Lopes wrote: I've just tried to compile mysqlnd and mysqli shared and it worked (at least sapi/cli/php -n -d extension_dir=modules -d extension=mysqlnd.so -d extension=mysqli.so -i showed no problems). Correct, it compiles fine, but what setup are you running your mysqlnd.so on? This

[PHP-DEV] shared mysqlnd extension ...

2012-08-20 Thread Lester Caine
Having now got mysql running on the PHP5.4.3 machine, I'm trying to compile mysqlnd and mysqli as extensions to load and unload as required. php_mysqlnd_config.h no longer exists, but why is the config file named config9.m4 rather than config.m4? What do I need to get these two extensions to

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-20 Thread Ferenc Kovacs
On Mon, Aug 20, 2012 at 11:52 PM, Lester Caine les...@lsces.co.uk wrote: Having now got mysql running on the PHP5.4.3 machine, I'm trying to compile mysqlnd and mysqli as extensions to load and unload as required. php_mysqlnd_config.h no longer exists, but why is the config file named

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-20 Thread Andrey Hristov
On 08/20/2012 11:52 PM, Lester Caine wrote: Having now got mysql running on the PHP5.4.3 machine, I'm trying to compile mysqlnd and mysqli as extensions to load and unload as required. php_mysqlnd_config.h no longer exists, but why is the config file named config9.m4 rather than config.m4? What

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-20 Thread Lester Caine
Andrey Hristov wrote: On 08/20/2012 11:52 PM, Lester Caine wrote: Having now got mysql running on the PHP5.4.3 machine, I'm trying to compile mysqlnd and mysqli as extensions to load and unload as required. php_mysqlnd_config.h no longer exists, but why is the config file named config9.m4

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-20 Thread Lester Caine
Ferenc Kovacs wrote: Having now got mysql running on the PHP5.4.3 machine, I'm trying to compile mysqlnd and mysqli as extensions to load and unload as required. php_mysqlnd_config.h no longer exists, but why is the config file named config9.m4 rather than config.m4? What do I

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-20 Thread Rasmus Lerdorf
On 08/20/2012 06:51 PM, Lester Caine wrote: Ferenc Kovacs wrote: why is this an internals question? Because no one answered on general :( But since the core code base does not compile it seems internal to me anyway. The bundled extensions are not designed to be built standalone using phpize

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-20 Thread Lester Caine
Rasmus Lerdorf wrote: On 08/20/2012 06:51 PM, Lester Caine wrote: Ferenc Kovacs wrote: why is this an internals question? Because no one answered on general:( But since the core code base does not compile it seems internal to me anyway. The bundled extensions are not designed to be built

Re: [PHP-DEV] shared mysqlnd extension ...

2012-08-20 Thread Rasmus Lerdorf
On 08/20/2012 08:12 PM, Lester Caine wrote: Rasmus Lerdorf wrote: On 08/20/2012 06:51 PM, Lester Caine wrote: Ferenc Kovacs wrote: why is this an internals question? Because no one answered on general:( But since the core code base does not compile it seems internal to me anyway. The