Re: Why does mysqlnd get included in Linux 'core' PHP5 packages?

From: Date: Sat, 03 Sep 2011 12:42:33 +0000
Subject: Re: Why does mysqlnd get included in Linux 'core' PHP5 packages?
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Lester,

On Sat, 2011-09-03 at 10:06 +0100, Lester Caine wrote:
> OK done that ...
> 
> http://lsces.co.uk/PHP/testphpinfo.php is
> the current PHP install managed via 
> SUSE. Additional .ini files shows what I've added from the package manager (and 
> my own extension builds), yet mysqlnd is listed as well.

You have a point of which i wasn't aware.

mysqlnd is not yet default from php.net side but SuSE has chosen to do
so. Now there is one consequence: If mysqlnd is used it will be built
statically in PHP, even on Unix, even if the other MySQL modules are
built shared. This can be fixed by adding a specific configuration
option to enforce mysqlnd being build as its own shared .so, too.

Doing this will add a small dependency issue as one has to ensure to
load mysqlnd first, then the other MySQL extensions. I think all
distributions are using a single mysql.ini file to activate all MySQL
extensions they would be able to list mysqlnd first in there and be
done.

johannes

-- 
Johannes Schlüter, Oracle
MySQL Engineering - Connectors and Client Connectivity



Thread (19 messages)

« previous php.internals (#55155) next »