[horde] .pearrc file

Vilius Šumskas vilius at lnk.lt
Tue Jul 31 12:53:12 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

This is a problem of Ubuntu then. Horde has not control of .pearrc or sudo in any way.

-- 
   Vilius



More information about the horde mailing list