Re: pear for horde installation
| From: | Michael Gauthier | Date: | Tue, 27 Jul 2010 16:52:52 +0000 |
| Subject: | Re: pear for horde installation | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30665@lists.php.net to get a copy of this message | ||
On Tue, 2010-07-27 at 16:02 +0200, Sasa wrote:
> "Michael Gauthier" wrote:
> > Try this script:
> >
> > <?php
> >
> > var_dump(extension_loaded('mysql'));
> > var_dump(extension_loaded('mysqli'));
> >
> > ?>
> >
> > and report the results. There's probably something simple missing here.
>
> the result is:
> bool(true) bool(false)
>
Hmm... you have the 'mysql' php extension, and based on the error
message you pasted, you are using the 'mysql' driver for MDB2. It should
"just work".
I've checked out the code in PEAR::loadExtension() and
MDB2_Driver_mysql::_doConnect() and don't see anything obviously wrong.
You could try this additional script to see if there's a bug in your
PEAR installation:
<?php
require_once 'PEAR.php';
var_dump(PEAR::loadExtension('mysql'));
?>
Regards,
Mike