That is not an error, it is a warning. You can turn off warnings in your php.ini file and it will go away. That is probably the best solution for now.
Both PDO and MySQLi are good solutions. I've researched both and decided I liked MySQLi for our extensions.