Installing Horde with php8.0/php7.4

AlmaLinux 9 up-to-date
In a fresh Webmin/Virtualmin install I tried to install Horde webmail but I gave up after “install failed”.
That time I followed pre requisites ++.
Now I am trying it again. I created a virtual server mail.domain.com
Now I simply followed Quick Install.
I have installed php 8.0 from scratch and some days ago php 7.4.
For mail.domain.com I selected php 7.4
Running pear install -a -B horde/horde I get a very long list of warnings and requirements
It starts with

WARNING: “pear/Console_Getopt” is deprecated in favor of “pear/Console_GetoptPlus”

and other deprectations I don’t know how to update.
Continues a long list of modules that require lower versions of php.
For example:

horde/Horde_Core requires PHP (version >= 5.3.0, version <= 8.0.0alpha1, excluded versions: 8.0.0alpha1), installed version is 8.0.27

I don’t know how to tell Horde install to use php 7.4.
A lot of other are like

horde/Horde_Log requires package “horde/Horde_Exception” (version >= 2.0.0, version <= 3.0.0alpha1, excluded versions: 3.0.0alpha1)

And finally

pecl/mongo requires PHP (version >= 5.3.0, version <= 5.99.99), installed version is 8.0.27
horde/Horde_Thrift requires PHP (version >= 5.3.0, version <= 8.0.0alpha1, excluded versions: 8.0.0alpha1), installed version is 8.0.27
No valid packages found
install failed

Thanks for help

At this point nobody should be using Horde anymore.
It’s abandoned by devs and basically deprecated.
It also has a 0-day bug which has been left unfixed so please, just don’t.
Use one of the other very good webmail clients that exists and are easily installable in Virtualmin.

1 Like

Don’t use such a domain in Virtualmin. The ‘mail’ subdomain is reserved and should not use used as name of a subdomain when creating a virtual server.

This is in addition to everything @toreskev said.

1 Like

I’d call it a “default” automatic domain, rather than “reserved”. You could change the configuration to change the main name to something else. But, mail is a common convention, so it’s what we use. But, we don’t make you have any automatic names, they’re just created for convenience. If you really want to use mail for something else, that’s fine, too…just configure Virtualmin to use something else, instead (or don’t enable mail for the domain).

1 Like

Hi Joe,
I moved my server recently. I put mail.domain in my question but it actually is mail2.domain
I already have a subdomain mail.domain where I installed Roundcube webmail.
I’m having issues with some plugins (filtering and blacklist), so because I already had installed Horde in previous server I thought to install it again but it seems not a good idea.

Both domains don’t have email enabled, just DNS and Website.

BTW, Is it possible to enable .procmailrc only with certain users instead of all of them?
Thank you

Hi toreskev,
I will delete this VS which actually is mail2.domain
I already have a subdomain mail.domain where I installed Roundcube webmail.
Which others do you recommend to let a few users I have to choose?
Thanks!

I’ve heard good things about Snappymail (fork of Rainloop) but haven’t used it myself as I swear by Roundcube since many years ago.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.