Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

ORIGINALLY POSTED ON however as its a server issue thought i may have more luck here.

Hi Guys,

I have PEAR, MDB2 and Mysql Driver installed however I keep getting:

Fatal error: Call to undefined function: MDB2_Driver_mysql::_isNewLinkSet(). in /home/**/PEAR/MDB2.php on line 1937.

The Server is CentOS

I am stuck, any help would be appriciated.

Thanks :)

share|improve this question

I had a similar problem yesterday.

Try explicitly including the file that contains the MDB2_Driver_mysql class before you call that function. That fixed it for me. I think this is the path/name to do it:

require_once "MDB2/Driver/mysql.php";

I know that this question is 4 mos old, but since I stumbled across it someone else might too. I hope this answer helps someone.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.