[horde] Undefined index: socket in/usr/local/lib/php/DB/mysql.php on line 108

Greg Robinson greg at ltcc.com
Thu Jul 18 09:29:22 PDT 2002


All:

Thank You!

No I, still have not dedicated the time and study necessary to fully
comprehend how the framework and it's associated modules operate.

In fact I found the installation so daunting I've attempted to document the
process so I can replicate a horde installation on some other machines.

My current document is:
http://www.xmldesigners.com/bsd/horde.htm

However, when I made the actual change to my horde.php file it ended up
looking like this:
// This is an example configuration for a MySQL preference backend.
// The SQL script to setup the preference database is placed in
// horde/scripts/db/prefs.sql.
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'reddevil.healingsystems.com';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = 'SecretWord1';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['protocol'] = 'unix';
$conf['prefs']['params']['socket'] = '';
// or:
// $conf['prefs']['params']['protocol'] = 'tcp';
// $conf['prefs']['params']['port'] = '';
$conf['prefs']['params']['table'] = 'horde_prefs'

Regards,

Greg

-----Original Message-----
From: Jon Parise [mailto:jon at horde.org]
Sent: Wednesday, July 17, 2002 8:28 PM
To: Greg Robinson
Cc: 'Jan Schneider'; horde at lists.horde.org
Subject: Re: [horde] Undefined index: socket
in/usr/local/lib/php/DB/mysql.php on line 108


On Fri, Jul 12, 2002 at 08:44:11AM -0700, Greg Robinson wrote:

> $conf['prefs']['params']['protocol'] = 'unix';
> $conf['prefs']['params']['protocol'] = 'tcp';     <==========

Note that the second $conf['prefs']['params']['protocol'] will
overwrite the first.  These lines are not additive.

--
Jon Parise (jon at horde.org) :: The Horde Project (http://horde.org/)



More information about the horde mailing list