Topic: Roundcubemail dependencies for nginx

Hi, I installed Roundcube webmail on CentOS v6.4 together with nginx.
It works fine, the only thing I had to change where permissions of the files in /etc/roundcubemail so that the user group nginx could read them.
Otherwise I would get error: "DB Error: Configuration error. Unsupported database driver:  in /usr/share/roundcubemail/program/lib/Roundcube/rcube_db.php on line 75"

And the permissions of these directories aswell:
/usr/share/roundcubemail/logs/
/usr/share/roundcubemail/temp/
/var/log/roundcubemail

And finally the logrotation file: /etc/logrotate.d/roundcubemail

Now my question is on the dependency in your repository for httpd & php
Is that a necessary dependency or could it be set to allow php-fpm instead of httpd & php?

Right now when installing:

Installing:
 roundcubemail                                         noarch                              0.9.2-1.el6.remi                                   remi                                              3.1 M
Installing for dependencies:
 aspell                                                x86_64                              12:0.60.6-12.el6                                   rhel-x86_64-server-6                              648 k
 httpd                                                 x86_64                              2.2.15-29.el6_4                                    rhel-x86_64-server-6                              821 k
 httpd-tools                                           x86_64                              2.2.15-29.el6_4                                    rhel-x86_64-server-6                               73 k
 libicu                                                x86_64                              4.2.1-9.1.el6_2                                    rhel-x86_64-server-6                              4.9 M
 libmcrypt                                             x86_64                              2.5.8-9.el6                                        epel                                               96 k
 libtool-ltdl                                          x86_64                              2.2.6-15.5.el6                                     rhel-x86_64-server-6                               44 k
 php                                                   x86_64                              5.4.18-1.el6.remi                                  remi                                              2.7 M
 php-intl                                              x86_64                              5.4.18-1.el6.remi                                  remi                                              124 k
 php-ldap                                              x86_64                              5.4.18-1.el6.remi                                  remi                                               57 k
 php-mcrypt                                            x86_64                              5.4.18-1.el6.remi                                  remi                                               49 k
 php-pear                                              noarch                              1:1.9.4-12.el6.remi.1                              remi                                              376 k
 php-pear-Auth-SASL                                    noarch                              1.0.6-1.el6.remi                                   remi                                               15 k
 php-pear-Mail-Mime                                    noarch                              1.8.8-1.el6.remi                                   remi                                               42 k
 php-pear-Mail-mimeDecode                              noarch                              1.5.5-5.el6.remi                                   remi                                               17 k
 php-pear-Net-IDNA2                                    noarch                              0.1.1-6.el6.remi                                   remi                                               23 k
 php-pear-Net-SMTP                                     noarch                              1.6.2-1.el6.remi                                   remi                                               22 k
 php-pear-Net-Socket                                   noarch                              1.0.14-1.el6.remi                                  remi                                               12 k
 php-process                                           x86_64                              5.4.18-1.el6.remi                                  remi                                               59 k
 php-pspell                                            x86_64                              5.4.18-1.el6.remi                                  remi                                               39 k

Re: Roundcubemail dependencies for nginx

As explained on IRC, httpd stay the only web server which allow to package webapp, providing a config, which are working out of the box.

I think perm don't have to be change as far as you use php-fpm which runs on "apache" account by default.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi