Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45303 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71493 invoked from network); 17 Aug 2009 17:28:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Aug 2009 17:28:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@iki.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@iki.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain iki.fi from 204.13.248.72 cause and error) X-PHP-List-Original-Sender: jani.taskinen@iki.fi X-Host-Fingerprint: 204.13.248.72 mho-02-ewr.mailhop.org Received: from [204.13.248.72] ([204.13.248.72:63251] helo=mho-02-ewr.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/BA-14827-E23998A4 for ; Mon, 17 Aug 2009 13:28:14 -0400 Received: from a88-112-30-186.elisa-laajakaista.fi ([88.112.30.186] helo=localhost.localdomain) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.68) (envelope-from ) id 1Md60B-0006ys-3S; Mon, 17 Aug 2009 17:28:11 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 88.112.30.186 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19DOc0Ya3qrGVsovDT/XjK6ax2uP9dZp3g= Message-ID: <4A899327.4020008@iki.fi> Date: Mon, 17 Aug 2009 20:28:07 +0300 Reply-To: jani.taskinen@iki.fi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Remi Collet CC: PHP Internals References: <4A898F8E.3050509@FamilleCollet.com> In-Reply-To: <4A898F8E.3050509@FamilleCollet.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] mysqlnd as a shared extension ? From: jani.taskinen@iki.fi (Jani Taskinen) On 08/17/2009 08:12 PM, Remi Collet wrote: > Hi, > > Building 5.3.1 snapshot with options > --with-mysql=shared,mysqlnd > --with-mysqli=shared,mysqlnd > --with-pdo-mysql=shared,mysqlnd > > create 3 .so files, ok. > But mysqlnd extension still build as static within php core. It's not an extension. > Is it a way to build mysqlnd as a shared extension ? No, it's not an extension. > Don't find any option and .m4 file set this extension as static > (changing this result in a .so which cannot be load) > > My goal will be to provides both solutions (libmysql and mysqlnd) to be > able to quickly switch from one to the other (for tests / benchmark) Not possible. > Any idea / solution ? No idea or solutions. > P.S. main question is probably, should we use mysqlnd under linux ? If you want to use experimental stuff then yes. Otherwise not. --Jani