Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55100 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62139 invoked from network); 2 Sep 2011 19:59:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2011 19:59:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=ulf.wendel@phpdoc.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ulf.wendel@phpdoc.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain phpdoc.de from 212.227.17.9 cause and error) X-PHP-List-Original-Sender: ulf.wendel@phpdoc.de X-Host-Fingerprint: 212.227.17.9 moutng.kundenserver.de Received: from [212.227.17.9] ([212.227.17.9:59509] helo=moutng.kundenserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/C4-31460-785316E4 for ; Fri, 02 Sep 2011 15:59:04 -0400 Received: from [192.168.2.26] (p5B06A5D2.dip.t-dialin.net [91.6.165.210]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0M7A1q-1RNPfh2RMc-00wPfI; Fri, 02 Sep 2011 21:58:59 +0200 Message-ID: <4E613581.2070808@phpdoc.de> Date: Fri, 02 Sep 2011 21:58:57 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 CC: "internals@lists.php.net" References: <1314966424.2150.26.camel@guybrush> <4E60F712.4010901@lerdorf.com> <4E612BBA.2000509@oracle.com> <4E612D70.70606@sugarcrm.com> In-Reply-To: <4E612D70.70606@sugarcrm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:alDQmcpeVQyK96XhVSXrgMZhFeT/jIMlxss9egjlivj IL2grXf3WvRB7L7lOcYHYw9BAiNmfedguIBBKfZ2xW3z8Fra+w 8iDT/1ZbldheaVpjYZWoKKZ/0rmx+gj/CCvoUdeDkz6R6bdetn z5pCLHXGmvTKJkLHxgoguzOGy6DNd4pNc9osT7mrk9EtZLjqj2 bPfiYgGxjPbZ4mHL55swfP4m0wRNs1LlnCtaJ2i4GwTBw0xYSv 3ICViwMJhvNJ/epuas5oxgoCN+XRlW0Zxotl5g/JJQRu80IRoA 1jVZyynOiMS2bnMYsjKeemFJDTrkSCfhlJ3gqWcVglHQZWkJ5f lus6exG4RbL89vKeujCk= Subject: Re: [PHP-DEV] Make mysqlnd default over libmysql in 5.4 From: ulf.wendel@phpdoc.de (Ulf Wendel) Am 02.09.2011 21:24, schrieb Stas Malyshev: > Hi! > > On 9/2/11 12:17 PM, Christopher Jones wrote: >> I'm +1 for this. I think the decision& implementation needs to be done >> before Beta or deferred to trunk. > > Frankly, I'd be more comfortable with trunk. We have enough trouble with > unit tests etc. before the beta, and introducing profound change in > default without enough time for discussion and gathering feedback from > packagers, etc. doesn't look a smart thing to do. Hmm, I do not understand the unit test argument. Non-portable tests exist regardless of what the config.m4 default is. We are talking about making mysqlnd as a compile default, if not explicitly choosing libmysql to compile against. This is no attempt to remove libmysql support. I somewhat assume most packagers do explicitly set libmysql path already and do not rely on any magic, because they don't use MySQL's default source layout. However, argument taken, let's do some checks who (Debian, Ubuntu, OpenSuse, RH, ...) does not set libmysql path during compile. mysqlnd was introduced with PHP 5.3. IMHO, it has matured quite well. Mysqlnd reduces the PHP projects dependency on anybody controlling the library. This has been a major pain in the past. Think of builds made against outdated versions of libmysql, think of waiting for new libmysql releases, think of compilers not supported by libmysql, think of license discussion, think of accepting code contributions and so forth. From a user perspective mysqlnd removes the need to install libmyql prior to building and a has a couple of neat features not available with libmysql, for example, the plugins. Ulf