Error install roundcube

SYSTEM INFORMATION
OS type and version Almalinux 9.7
Webmin version 2.621
Virtualmin version 8
Webserver version REQUIRED
Related packages SUGGESTED

I was having trouble accessing my emails using Roundcube, and I wanted to reinstall it to see if it was a configuration issue, but it won’t let me install it.

I already tried:

sudo clean all
sudo dnf update

But I still can’t install it, see imagen error

The error says the problem.
Try switching to a different version that has a the zip module.

1 Like

I tried it with PHP versions 7.4 and 8.2, but the same error persists.

I would assume it is in the REMI repos, but, I don’t know that for sure. If you are installing with the VM script then this is more of a problem.
EDIT: I think Roundcube now has different install options for V8. One is universal. If you are using the VM install then @Ilia may need to chime in here.

I tried installing using the script:

sudo dnf install php-cli php-fpm php-curl php-mysqlnd php-gd php-readline php-mbstring php-apcu php-xml php-dom php-opcache php-zip php-intl php-common php-bcmath php-json -y

But I get a warning. (Image attached)


Install PHP version 8.3 and verify that it has php-zip. The problem is that Roundcube is trying to install a zip dependency but can’t find it in the repo from within Roundcube; that’s what I understand is happening.


OK. Let’s reset. By script, I mean how did you install Roundcube? I’m not on VM8 yet and I know there have been changes. I believe you can install per domain OR one central install so your screen may look different.

If you installed via the interface and it failed, then someone like @Ilia will have to respond.


PHP can be installed from here:

PHP is installed and working, the problem is when I try to install Roundcube from “Manage web apps” I get the error shown in the image.

This error occurs with PHP 8.3
Captura de pantalla 2026-02-05 154012

I just upgraded to VM8 and tried. Went OK on Debian 11 so I’ve gone as far as I can. My only “guess” at a next step would be to use the interface shown above to remove and reinstall the version of PHP you want to use.

Is your 8.3 sever running?
(Dashboard)

Try dnf install php83-php-zip
not dnf install php8.3-php-zip

Does that install zip module.
Although the error is installed but not loaded.
Do you have a php.ini that you added in the home or roundcube directory?

I was wondering if installing php8.3 via command line in the above example maybe didn’t really configure/start the server?

It’s already installed, I don’t know what problem I have that’s preventing me from installing it.

Its installed, but not loaded. See your error in OP.

In the php options->php information is it showing?

Also check phpinfo, there should be a zip section.

I also check the config file for the loading (I think), should be in this file

The log file may give a clue as well at /var/opt/remi/php83/log/php-fpm/error.log

I checked what you suggested, but I don’t have the file in the path:

/var/opt/remi/php83/log/php-fpm/error.log

I also don’t have the php.d file in the path you indicated.

And I haven’t loaded the zip file in the php.ini configuration.

The global conf file in webmin should have its location. (below screenshot)
There seems to be something wrong with your setup.
Did you install on a clean machine, did you remove the php version that comes with the OS?
I think its 8.0 or 8.1.

Normally when installing new versions your should see a dropdown, have you removed 7.4 and 8.2?

I just did a clean install of virtualmin on clean Almalinux 9.7.
The /etc/opt/remi (including /php.d directory) is created after running the
dnf install php83-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}
command.
That suggest that you done something different to the docs.