Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55170 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88119 invoked from network); 4 Sep 2011 07:10:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Sep 2011 07:10:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 217.70.183.196 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 217.70.183.196 relay4-d.mail.gandi.net Linux 2.6 Received: from [217.70.183.196] ([217.70.183.196:57511] helo=relay4-d.mail.gandi.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A4/07-34132-774236E4 for ; Sun, 04 Sep 2011 03:10:47 -0400 X-Originating-IP: 217.70.178.134 Received: from mfilter4-d.gandi.net (mfilter4-d.gandi.net [217.70.178.134]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 5F607172092 for ; Sun, 4 Sep 2011 09:10:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter4-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter4-d.gandi.net (mfilter4-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id xXJGWus4iEGc for ; Sun, 4 Sep 2011 09:10:43 +0200 (CEST) X-Originating-IP: 82.241.130.121 Received: from lovelock.famillecollet.com (pom51-2-82-241-130-121.fbx.proxad.net [82.241.130.121]) (Authenticated sender: remicollet@famillecollet.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id B6121172081 for ; Sun, 4 Sep 2011 09:10:41 +0200 (CEST) Message-ID: <4E632471.7030007@fedoraproject.org> Date: Sun, 04 Sep 2011 09:10:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.1) Gecko/20110901 Thunderbird/6.0.1 MIME-Version: 1.0 To: PHP Internals References: <4E61EE07.8030402@lsces.co.uk> <1315053753.2311.15.camel@guybrush> In-Reply-To: <1315053753.2311.15.camel@guybrush> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Why does mysqlnd get included in Linux 'core' PHP5 packages? From: remi@fedoraproject.org (Remi Collet) Le 03/09/2011 14:42, Johannes Schl=C3=BCter a =C3=A9crit : > 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. This will be great. For RPM, php is build 1 time for each sapi (apache, cli, ...) but extension are only build once (well twice in we also build zts). This is ok with libmysql. If we want to switch to mysqlnd (for RPM), this will imply to build mysqlnd for each sapi (don't find a flag for this except also building mysql or mysqli extensions) and so provide various copy of the "static" library (in the various binaries). Having mysqlnd as a shared library will also allow to provides easily mysql/mysqli build with both mysqlnd and libmysql and give the final user the choice. Regards, Remi.