[horde] Two horde version running on the same system
Brent
impuser at bitrealm.com
Thu May 19 20:21:50 UTC 2011
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
More information about the horde
mailing list