mysql vs mysqli vs pdo (php) Q

mysql vs mysqli vs pdo (php) Q

Lior Kaplan kaplanlior at gmail.com
Sun Dec 2 11:37:30 IST 2012


Hi Erez,

>From PHP 5.4 the default for all the mysql extensions family is mysqlnd
(PHP native mysql driver), and it seems that for the next PHP release (5.5)
ext/mysql will be deprecated https://wiki.php.net/rfc/mysql_deprecation

So PDO is probably the right answer.

Kaplan


On Sun, Dec 2, 2012 at 11:22 AM, Erez D <erez0001 at gmail.com> wrote:

> Hello,
>
> We are starting a new project, one that will be used for production and
> should be supported for years.
>
> We need to access mysql via php
> currently i seem to preffer PDO as it supports not only mysql but many
> other DBs.
>
> searching the net, i see many comparisons of mysql vs mysqli vs pdo.
> they compare functionality
>
> however, i am trying to asses, which api will be still up to date in 5
> years, and which will not
>
> anyone ?
>
>
> thanks,
> erez.
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20121202/1b488c01/attachment-0001.html>


More information about the Linux-il mailing list