Replacement for PEAR: MDB2 on PHP 5.3
Posted
by mattweg
on Stack Overflow
See other posts from Stack Overflow
or by mattweg
Published on 2009-10-07T07:39:47Z
Indexed on
2010/05/17
11:00 UTC
Read the original article
Hit count: 273
I've been using pear packages in php for years. I'm in the process of upgrading/moving a sites that uses the MDB2 pear package and it has not been updated for PHP 5.3.X.
In 5.3, MDB2 is returning those new annoying errors.
Unknown: Assigning the return value of new by reference is deprecated in /usr/local/lib/php/MDB2.php on line 390
I know I can change my error reporting settings to get rid of them, but I'd rather not make any exceptions. Anyway, Is anyone else using MDB2 these days and have a solution? Are there similar database packages you recommend?
Thanks. -Matt
© Stack Overflow or respective owner