From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/php: switch from libmysqlclient to mysqlnd
Date: Wed, 24 Aug 2016 19:09:51 +0200 [thread overview]
Message-ID: <20160824190951.2d69b29f@free-electrons.com> (raw)
In-Reply-To: <65c74b5a-1a2a-f17f-5381-91b0cf7503c2@mind.be>
Hello,
On Wed, 24 Aug 2016 02:26:51 +0200, Arnout Vandecappelle wrote:
> On 23-08-16 18:54, 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)
>
> I may be too tired and could be missing something, but this commit message
> looks like it doesn't match the actual change...
>
> I _guess_ that the php config script will use mysqlnd when the plain
> --with-mysqli option is passed, and will use libmysqlclient when --with-mysqli
> has a parameter. If this is the case, please specify it explicitly in the commit
> message. If this is not the case, it should _definitely_ be explained in the
> commit message :-)
Where do you see anything in the commit message that contradicts this?
Yes, the commit message doesn't explain at all that passing
--with-mysqli/--with-pdo-mysql with no arguments tell PHP to use its
native MySQL driver. But it also doesn't state the opposite.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-08-24 17:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 16:54 [Buildroot] [PATCH 1/1] package/php: switch from libmysqlclient to mysqlnd Floris Bos
2016-08-23 19:52 ` Thomas Petazzoni
2016-08-23 20:44 ` Floris Bos
2016-08-24 0:26 ` Arnout Vandecappelle
2016-08-24 17:09 ` Thomas Petazzoni [this message]
2016-08-24 20:41 ` Arnout Vandecappelle
2016-08-24 21:45 ` Floris Bos
2016-08-24 23:16 ` Arnout Vandecappelle
2016-09-06 21:27 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160824190951.2d69b29f@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox