Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55117 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90193 invoked from network); 2 Sep 2011 21:33:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2011 21:33:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.187 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.187 c2beaomr09.btconnect.com Received: from [213.123.26.187] ([213.123.26.187:36528] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/6A-31460-C9B416E4 for ; Fri, 02 Sep 2011 17:33:17 -0400 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.4_) ([81.138.11.136]) by c2beaomr09.btconnect.com with ESMTP id EFU67312; Fri, 02 Sep 2011 22:33:11 +0100 (BST) Message-ID: <4E614B96.9060500@lsces.co.uk> Date: Fri, 02 Sep 2011 22:33:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110815 Firefox/6.0 SeaMonkey/2.3 MIME-Version: 1.0 To: PHP internals References: <1314966424.2150.26.camel@guybrush> <4E60F712.4010901@lerdorf.com> <4E6139CA.6040805@lsces.co.uk> <4E61411A.40000@phpdoc.de> In-Reply-To: <4E61411A.40000@phpdoc.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0303.4E614B96.0070, actions=tag X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2011.9.2.205115:17:7.586, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __CP_URI_IN_BODY, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_1800_1899, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, BODY_SIZE_2000_LESS, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2beaomr09.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B020C.4E614B97.00E4:SCFSTAT14830815,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Make mysqlnd default over libmysql in 5.4 From: lester@lsces.co.uk (Lester Caine) Ulf Wendel wrote: > Am 02.09.2011 22:17, schrieb Lester Caine: >> Rasmus Lerdorf wrote: >>> I was actually going to suggest doing this in 5.4 and trunk but didn't >>> get around to writing the email yet. >> >> It would still be nice to be able to simply switch off MySQL for those >> of us who do not have it installed ... >> It gets annoying when PHP forces the installation of MySQL in a >> distribution and then prevents disabling it. It is another example of >> why a more modular approach does make sense! > > Lester, > > do I understand that you are afraid of a PHP which comes with MySQL support that > cannot be disabled? > > I don't think the proposal goes like that. The proposal is to change the default > library, if not set during compile, used by the MySQL extensions, if enabled, > from libmysql to mysqlnd. This is independent of the questions: > > - if any MySQL extension shall be enabled by default > - if PHP can be built without MySQL support > > And, I said it in the other email, this is no attempt to remove libmysql support. > > I may be wrong but your concern - as valid as it is - seems a bit off topic, no? If the MySQL support was loaded as an extension rather than being forced on everybody, then you could provide either version of library just by selecting the right extension? Just as we provide special builds of other extensions to allow backwards compatibility ... we HAD dropped MySQL dependence at one point, but it seems to have crept back in without any particular agreement? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php