preferances
Barry
blclark@gci.net
Fri, 18 Jan 2002 04:25:55 -0900
---------------------- multipart/alternative attachment
Ok, so I know now why it is not working but as I am not versed in php
and not as good in Linux as I want to be I have no idea what to put in
any of these settings. I am using mysql and the databases are working
correctly, meaning I can log into them via command line. If it is not
too much trouble I will put specific questions next to the pertinent
places. I am sorry if this is too long.
Barry Clark
** Preference System Settings
**/
/* What preferences driver should we use? Valid values are 'none'
* (meaning use system defaults and don't save any user preferences),
* 'session' (preferences only persist during the login), 'ldap',
* and 'sql'.
*/
$conf['prefs']['driver'] = ''; I assume this should be mysql
/* Any parameters that the preferences driver needs. This includes
* database or ldap server, username/password to connect with, etc.
*/
$conf['prefs']['params'] = array(); I can see that this should be the
user/pass of horde but what syntax should I use?
/* This is an example configuration for a MySQL preference backend.
* Be sure to set the prefs driver to 'sql' above if you use this
* configuration.
*/
$conf['prefs']['params']['phptype'] = 'mysql'; This part looks
fairly self explanatory to me (I could be wrong)
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = 'horde';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';
/**
** Category System Settings
**/
/* What backend should we use for Horde Categories? Valid options are
* currently 'none' and 'sql'. In the case of 'none', the categories
* only live for the duration of a single request - they are NOT
* stored in the user's session.
*/
$conf['category']['driver'] = 'mysql'; Yet again I assume this is mysql
/* An array holding any parameters that the Category object will need
* to function correctly.
*/
$conf['category']['params'] = array(); Is this user/pass again?
/**
** Cache System Settings
**/
/* If you want to enable the Horde Cache, select a driver here.
* This is used to speed up portions of Horde by storing
* commonly processed objects to disk.
* Valid values are 'none' (don't cache any objects),
* 'file' (store objects in filesystem)
*/
$conf['cache']['driver'] = 'none'; It looks as if I don't really need
to change this setting
// $conf['cache']['driver'] = 'file';
/* Any parameters that the caching driver needs. */
$conf['cache']['params'] = array();
// $conf['cache']['params']['dir'] = '/var/cache/horde';
/**
** Mailer
**/
/* What method should we use for sending mail? Valid options are
* currently 'sendmail' and 'smtp'.
*/
$conf['mailer']['type'] = 'sendmail';
/* An array holding any parameters that the Mail object will need to
* function correctly. For sendmail, this is mainly the sendmail_path
* option; SMTP requires at least a server and a port (if nonstandard).
*/
$conf['mailer']['params'] = array();
$conf['mailer']['params'] = array('sendmail_path' =>
'/usr/lib/sendmail'); This is the correct path to my sendmail but do I
need anything in the array portion above?
// $conf['mailer']['params'] = array('server' => 'smtp.example.com');
/**
---------------------- multipart/alternative attachment--