Re: apc breaks pear::mdb2

From: Date: Fri, 03 Jul 2009 13:26:25 +0000
Subject: Re: apc breaks pear::mdb2
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-294863@lists.php.net to get a copy of this message
On Fri, Jul 3, 2009 at 07:00, Michael A. Peters<mpeters@mac.com> wrote: >> >> <b>Fatal error</b>:  Class 'PEAR' not found in >> <b>/usr/share/pear/MDB2/Driver/mysql.php</b> on line >> <b>876</b><br /> Have you installed PEAR's PEAR module? I know it sounds a bit redundant, but see if that works for you. From the command line: pear install PEAR If it tells you that it's already on there, or if it installs but does not fix your problem, the next step is making sure that the include path contains the path to your PEAR files. If not, the class fails because the inclusion fails (and without looking at the source of the MySQL driver in the MDB2 package, my guess is that it's __autoload()'d rather than explicitly included, hence no message about a missing file). -- </Daniel P. Brown> daniel.brown@parasane.net || danbrown@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Check out our great hosting and dedicated server deals at http://twitter.com/pilotpig

« previous php.general (#294863) next »