[horde] .pearrc file
trautloft
trautloft at greenhearts.org
Tue Jul 31 12:41:57 UTC 2012
When installing Horde on Ubuntu et al. the installer is sudoed. The
installation ( through PEAR ) puts a .pearrc in the USERS home directory.
The Kronolith agenda and horde-alarms scripts will be run as (e.g.) root &
so don't have a .pearrc file. The following errors occur:
-----------------
PHP Warning: require_once(/usr/share/php/www/horde/lib/Application.php):
failed to open stream: No such file or directory in /usr/bin/horde-alarms
on line 18
PHP Fatal error: require_once(): Failed opening required
'/usr/share/php/www/horde/lib/Application.php'
(include_path='.:/usr/share/php:/usr/share/pear') in /usr/bin/horde-alarms
on line 18
-----------------
IMHO the base install directory information should not be stored in a
users home directory, but in the horde or pear conf files.
copying the .pearrc file to /root fixes the problem
More information about the horde
mailing list