Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55155 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90977 invoked from network); 3 Sep 2011 12:42:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2011 12:42:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes.schlueter@oracle.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes.schlueter@oracle.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 148.87.113.121 cause and error) X-PHP-List-Original-Sender: johannes.schlueter@oracle.com X-Host-Fingerprint: 148.87.113.121 rcsinet10.oracle.com Received: from [148.87.113.121] ([148.87.113.121:38925] helo=rcsinet10.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/30-24201-7C0226E4 for ; Sat, 03 Sep 2011 08:42:48 -0400 Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by rcsinet10.oracle.com (Sentrion-MTA-4.2.0/Sentrion-MTA-4.2.0) with ESMTP id p83Cghnq027144; Sat, 3 Sep 2011 12:42:43 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p83CggCI022714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Sep 2011 12:42:42 GMT Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p83CgbGu021253; Sat, 3 Sep 2011 07:42:37 -0500 Received: from [192.168.2.230] (/93.104.39.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 03 Sep 2011 05:42:36 -0700 To: Lester Caine Cc: PHP internals In-Reply-To: <4E61EE07.8030402@lsces.co.uk> References: <4E61EE07.8030402@lsces.co.uk> Content-Type: text/plain; charset="UTF-8" Organization: Oracle Corporation Date: Sat, 03 Sep 2011 14:42:33 +0200 Message-ID: <1315053753.2311.15.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: quoted-printable X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090207.4E6220C4.0016,ss=1,re=0.000,fgs=0 Subject: Re: [PHP-DEV] Why does mysqlnd get included in Linux 'core' PHP5 packages? From: johannes.schlueter@oracle.com (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Lester, On Sat, 2011-09-03 at 10:06 +0100, Lester Caine wrote: > OK done that ... >=20 > http://lsces.co.uk/PHP/testphpinfo.php is the current PHP install managed= via=20 > SUSE. Additional .ini files shows what I've added from the package manage= r (and=20 > 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 --=20 Johannes Schl=C3=BCter, Oracle MySQL Engineering - Connectors and Client Connectivity