[Buildroot] [PATCH 1/1] package/php: switch from libmysqlclient to mysqlnd

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 23 19:52:10 UTC 2016


Hello,

On Tue, 23 Aug 2016 18:54:48 +0200, Floris Bos wrote:
> The Mysql Native Driver has been the default mysql driver since
> PHP 5.4, but buildroot was still using libmysqlclient.
> 
> Mysqlnd has several advantages such as improved memory management
> and the more favorable PHP licensing terms.
> (can combine it with proprietary PHP extensions like Ioncube
> loader, while libmysqlclient requires commercial licensing if you
> link to it and do not fall under their GPL/FOSS license exception)
> 
> Signed-off-by: Floris Bos <bos at je-eigen-domein.nl>

I see that you are changing the *existing* options to use the native
driver rather than the libmysqlclient based one.

Would there be any reason for someone to prefer the libmysqlclient
based one over the native driver?

I'm simply wondering if we should change the semantic of the existing
options, or add new ones for the native driver. I very much prefer
*less* options, so if the native driver is fine and a drop-in
replacement for the libmysqlclient based one, I'm all for your patch,
just wanted to confirm.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list