Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45308 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40932 invoked from network); 17 Aug 2009 23:55:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Aug 2009 23:55:16 -0000 Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.221.203 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.221.203 mail-qy0-f203.google.com Received: from [209.85.221.203] ([209.85.221.203:38563] helo=mail-qy0-f203.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/3A-22854-4EDE98A4 for ; Mon, 17 Aug 2009 19:55:16 -0400 Received: by qyk41 with SMTP id 41so2571544qyk.29 for ; Mon, 17 Aug 2009 16:55:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=5kz9pwSQrHHga4vT/KlEgR791hmorebsb1hANkSGJlg=; b=siiiyKd9mNz5iKnAOgyUR11D0cUQU1VYWY1cxribwu2rqhjBtTIQLCcdWELa0M4sQ7 H16xAg1R2Ln4wpLejW4h9Cw6mzTwbls8T8SUy0BUbsil5/OlAIxmC96+ikqowSEq8exf BPsPoacLzwowAbpaIAqbbpA7MH4MZ2NTIG5GU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=eHMAfGZbvK7GWHvNX+ksa2Wo6GRktBKGXbfaHuE515wegSyWUaaf9jrwH41dP34yM6 9g23eYvGIG0gKFSuOA4HaPtCyZBir8yK+4jSf6BpIXD01aSSu5858TLQEGRHhr6A/MAx 5LOYnOtBIK+fqKa1uEuqFTS0kAqWMkVEruAC0= MIME-Version: 1.0 Sender: tjerk.meesters@gmail.com Received: by 10.224.96.100 with SMTP id g36mr4868045qan.384.1250553313899; Mon, 17 Aug 2009 16:55:13 -0700 (PDT) In-Reply-To: <4A898F8E.3050509@FamilleCollet.com> References: <4A898F8E.3050509@FamilleCollet.com> Date: Tue, 18 Aug 2009 07:55:13 +0800 X-Google-Sender-Auth: c2aafb93973db3f9 Message-ID: To: Remi Collet , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] mysqlnd as a shared extension ? From: datibbaw@php.net (Tjerk Anne Meesters) Well, if you're doing speed comparisons why not just compile both mysqlnd and mysql(i) as static? ;-) On 8/18/09, 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. > > Is it a way to build mysqlnd as a shared 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) > > Any idea / solution ? > > Regards. > > P.S. main question is probably, should we use mysqlnd under linux ? > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -- Tjerk