[Tickets #11673] Re: Horde5 webmail-install script fails when installing into seperate pear
bugs at horde.org
bugs at horde.org
Thu Nov 8 16:30:11 UTC 2012
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: http://bugs.horde.org/ticket/11673
------------------------------------------------------------------------------
Ticket | 11673
Aktualisiert Von | ralf.lang at ralf-lang.de
Zusammenfassung | Horde5 webmail-install script fails when installing into
| seperate pear
Warteschlange | Horde Base
Version | 5.0.1
Typ | Bug
Status | Unconfirmed
Priorität | 1. Low
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
ralf.lang at ralf-lang.de (2012-11-08 16:30) hat geschrieben:
> Hi,
>
> I installed Horde 5 into a seperate PEAR following the instructions
> in the INSTALL document.
>
> There is already a Horde4 installation in production on the machine,
> so a seperate PEAR was needed.
> The webmail-install script failed for me, because
>
> require_once PEAR_Config::singleton()
> ->get('horde_dir', null, 'pear.horde.org') . '/lib/Application.php';
>
> always resolved to the path of the existing horde installation. I
> was following the instructions in the INSTALL document, setting the
> environment variable for PHP and PEAR, before running the script,
> but it always resolved to my old Horde installation.
>
> I fixed it quick and dirty by putting the right path into the script.
>
> require_once "/var/www/horde5/lib/Application.php";
>
> require_once PEAR_Config::singleton()
> ->get('horde_dir', null, 'pear.horde.org') . '/lib/Application.php';
>
> always had /var/www/horde4 as result.
>
Did you first install Horde_Role and run its config script for the
separate pear environment?
More information about the bugs
mailing list