Re: Make mysqlnd default over libmysql in 5.4

From: Date: Fri, 02 Sep 2011 21:33:10 +0000
Subject: Re: Make mysqlnd default over libmysql in 5.4
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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

Thread (67 messages)

« previous php.internals (#55117) next »