mysql_* API deprecation

Discussion in 'Developers' Forum' started by nveid, Oct 7, 2011.

  1. nveid

    nveid ISPConfig Developer ISPConfig Developer

    Till & Falko. Either of you gave any thoughts which direction to go with the mysql_* API deprecation? There is mysql team's mysqli_* API, and then there is the php teams PDO API.

    Here's a brief article which is a slight review on the two with a comparison table at the end. I'm most likely going PDO with my client projects, mainly cause the php team is pushing that one really hard & selling it quite nicely in the php irc room.

    http://randomdrake.com/2011/08/02/php-developers-finally-deprecating-extmysql-in-favor-of-mysqli-or-pdo/
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess that the mysqli_* functions are the "nearest" replacements for the mysql functions that we currently use in the mysql library. So changing to mysqli might be the easier solution and should work fine for ISPConfig's purposes I think.

    So my idea is to go with mysqli.
     

Share This Page