Re: apc breaks pear::mdb2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 3, 2009 at 07:00, Michael A. Peters<mpeters@xxxxxxx> 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@xxxxxxxxxxxx || danbrown@xxxxxxx
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our great hosting and dedicated server deals at
http://twitter.com/pilotpig

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux