Re: Make mysqlnd default over libmysql in 5.4
| From: | Rasmus Lerdorf | Date: | Fri, 02 Sep 2011 23:53:04 +0000 |
| Subject: | Re: Make mysqlnd default over libmysql in 5.4 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55125@lists.php.net to get a copy of this message | ||
On 09/02/2011 01:17 PM, Lester Caine wrote:
> Rasmus Lerdorf wrote:
>> I was actually going to suggest doing this in 5.4 and trunk but didn't
>> get around to writing the email yet.
>
> It would still be nice to be able to simply switch off MySQL for those
> of us who do not have it installed ...
> It gets annoying when PHP forces the installation of MySQL in a
> distribution and then prevents disabling it. It is another example of
> why a more modular approach does make sense!
I have no idea what you mean. We don't force MySQL in any way.
If you grab the PHP code and do: ./configure && make
there is absolutely no MySQL. You have to explictly do --with-mysql to
get MySQL support just like you have to enable other non-default extensions.
What the Oracle/MySQL guys are suggesting is simply that when you do
specify --with-mysql the default should be mysqlnd.
-Rasmus