[horde] Two horde version running on the same system

Gerard Breiner gerard.breiner at ias.u-psud.fr
Tue May 24 12:34:21 UTC 2011


Le 20/05/2011 12:12, Brent a écrit :
> Quoting Gerard Breiner <gerard.breiner at ias.u-psud.fr>:
>>> Le 19/05/2011 22:21, Brent a écrit :
>> >> Quoting Bruno Costacurta <techie at costacurta.org>:
>> >>>>> Is it possible to have horde-git and horde 3.x.x running on the 
>> same
>> >>>>> system (Debian squeeze) ?
>> >>>>>
>> >>>>
>> >>>> Yes. I'm using H3 and and H4 (for evaluating this latest version).
>> >>>>
>> >>>> Briefly in the Apache /sites-available/default file :
>> >>>> ..
>> >>>> Alias /horde4 "/var/www/horde4"
>> >>>> Alias /horde3 "/var/www/horde3"
>> >>>> ..
>> >>>>
>> >>>> About Horde configuration, specific Horde database are used
>> >>>> for each version via the related conf.php.
>> >>>> I would not recommend to use same database for both Horde versions.
>> >>>>
>> >>>> Hope it helps
>> >>>> Bye,
>> >>>> Bruno
>> >>>
>> >> Yep, as Bruno states, it can be done quite easily. Just install 
>> horde4
>> >> into a separate directory, point a web root to that directory, and 
>> you're
>> >> all set.
>> >>
>> >> You WILL need different databases, however. That means if a user 
>> makes a
>> >> change to their preference on the old Horde, they won't show up on 
>> the new
>> >> horde, and vice versa.  I had an issue creating a blank db with the
>> >> appropriate permissions for the web user, I had to use the 
>> following for
>> >> mysql...
>> >>
>> >> create database horde4db;
>> >>
>> >> create user 'horde4username'@'localhost' identified by 
>> 'passwordgoeshere';
>> >>
>> >> grant select,insert,update,delete,create,drop,index,alter
>> >> on horde4db.*
>> >> to 'horde4username'@'localhost';
>> >>
>> >> Once I had that for the mysql db, the first running of horde 4 db 
>> creation
>> >> of tables and schemas was successful.
>> >>
>> >> brent
>> >
>> > Hello,
>> >
>> > Does these differents version of Horde can share the same pear
>> > library ? No risk of conflict ?
>> > Many thanks for yours answers....
>> >
>> > Best regards
>> >
>> > Gerard
>>
>>
>
> Horde 3.x.x doesn't install anything into the pear system library, so you
> won't have any conflict running the two on the same system.  I imagine
> most people ran boh to make sure everything was working before 
> flipping to
> the new version.  For the ultra paranoid, you can even install a separate
> pear configuration just for Horde 4.x.x and there are setup docs for how
> to do this, though I haven't done it myself.
>
> Brent
Many thanks for all these very interesting answers...
Eventually, I chose to install Horde 4 by the means of pear and I also 
installed pear into this version...

Best regards

Gerard


More information about the horde mailing list