On 18.07.2008, at 10:11, Pierre Joye wrote:

On Fri, Jul 18, 2008 at 9:27 AM, Ulf Wendel <[EMAIL PROTECTED]> wrote:
Lester Caine schrieb:

Ulf Wendel wrote:

If mysqlnd turns out to be stable enough during the PHP 5.3 test phase, PHP 5.3+ may use mysqlnd as a default. There is no need to download an extra
library when using 5.3.

Lukas, this is not affecting PHP 5.3 as long as mysqlnd is
stable/fast/... enough to be used as a default.

BUT - does mysqlnd produce data in phpinfo() ? So when loaded by default you confuse end users when looking for problems on systems that do not use
MySQL.

We discussed that earlier in the thread: there's no need to load mysqlnd if there's no mysql extension loaded and using it - BUG, though not a high priority one. Just like there is no need to load ext/pdo when no pdo driver
gets loaded.

The question is also how much sense it makes. The main problem is the
dependency loading mechanism, which does not exist. That's the main
why PDO and MySqlnd can't be compiled as shared (or should not). If I
configure PHP without any mysql extension, does that mean that I will
never add one? I'm not sure but if we disable PDO and mysqlnd when no
driver are enabled at compile time, it means that I will have to
recompile PHP as soon as I like to use a pdo or mysqlnd driver. I will
let the RM decides :-D

It seems to me like in 99% of the cases on linux the initial install of PHP will include PDO and MySQL (ok lets say 90% for MySQL and 99% for PDO) intentionally anyways. For the rest they will be hand compiling anyways on Linux. I guess this leaves the only issue being the order in which the extensions get listed in the php.ini, right? There I guess we should just try to provide a good error message, but if we can't then the error message will likely soon plaster google/ yahoo with solutions (ideally our manual would be at the top).

For windows I feel that its mainly used for development, as such I would rather want to see things compiled in to reduce trouble, especially for novice users. For those users looking to get super stream lined binaries, with the work by the windows team its more feasible than ever to make your own binaries (or have someone else do it for them).

regards,
Lukas Kahwe Smith
[EMAIL PROTECTED]




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to