Missing PHP Redis module for OwnCloud under Rocky Linux 8

Hi,

I’m currently fiddling with OwnCloud under Rocky Linux 8. According to their documentation, RHEL 8.x is “officially supported”, but in practice you have to fight every step to get it running.

Important detail : the Prerequisites page states that OwnCloud only supports PHP 7.4. No other PHP version is supported. Which makes the choice of Rocky Linux 8 more or less obvious, since their implementation of PHP 7.4 is an LTS with low-risk updates until 2029.

But here’s the problem: OwnCloud needs the PHP Redis module to work correctly, and this module seems to be missing from the official repositories.

What now ? How can I install the PHP Redis module for PHP 7.4 on my Rocky Linux 8 installation without jumping through burning loops ?

Thanks & cheers,

Niki

You will need to use Remi repository, php module for redis exists there. As mentioned previously in your posts the other day relating to owncloud. If the official repositories do not have what you are looking for you need to use third party repos like Remi.

Ensure powertools repo is enabled, enable epel with:

dnf install epel-release

then do:

dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm

and once you’ve done this, you can remove all your existing PHP packages, and install the ones from Remi, for example:

[root@rocky8 ~]# dnf list available php74*
Updating Subscription Management repositories.
Rocky Linux 8 Extras                             57 kB/s | 3.1 kB     00:00    
Rocky Linux 8 BaseOS                             74 kB/s | 4.3 kB     00:00    
Rocky Linux 8 AppStream                          79 kB/s | 4.8 kB     00:00    
Rocky Linux 8 PowerTools                         79 kB/s | 4.8 kB     00:00    
EPEL 8                                           39 kB/s | 2.3 kB     00:00    
Available Packages
php74.x86_64                                               7.4-3.el8.remi                                         remi-safe
php74-build.x86_64                                         7.4-3.el8.remi                                         remi-safe
php74-libzip.x86_64                                        1.9.1-1.el8.remi                                       remi-safe
php74-php.x86_64                                           7.4.33-10.el8.remi                                     remi-safe
php74-php-ast.x86_64                                       1.1.1-1.el8.remi                                       remi-safe
php74-php-bcmath.x86_64                                    7.4.33-10.el8.remi                                     remi-safe
php74-php-brotli.x86_64                                    0.14.2-1.el8.remi                                      remi-safe
php74-php-cli.x86_64                                       7.4.33-10.el8.remi                                     remi-safe
php74-php-common.x86_64                                    7.4.33-10.el8.remi                                     remi-safe
php74-php-componere.x86_64                                 3.1.2-1.el8.remi                                       remi-safe
php74-php-dba.x86_64                                       7.4.33-10.el8.remi                                     remi-safe
php74-php-dbg.x86_64                                       7.4.33-10.el8.remi                                     remi-safe
php74-php-devel.x86_64                                     7.4.33-10.el8.remi                                     remi-safe
php74-php-embedded.x86_64                                  7.4.33-10.el8.remi                                     remi-safe
php74-php-enchant.x86_64                                   7.4.33-10.el8.remi                                     remi-safe
php74-php-ffi.x86_64                                       7.4.33-10.el8.remi                                     remi-safe
php74-php-fpm.x86_64                                       7.4.33-10.el8.remi                                     remi-safe
php74-php-gd.x86_64                                        7.4.33-10.el8.remi                                     remi-safe
php74-php-geos.x86_64                                      1.0.0-11.el8.remi                                      remi-safe
php74-php-gmp.x86_64                                       7.4.33-10.el8.remi                                     remi-safe
php74-php-horde-horde-lz4.x86_64                           1.0.10-15.el8.remi                                     remi-safe
php74-php-imap.x86_64                                      7.4.33-10.el8.remi                                     remi-safe
php74-php-intl.x86_64                                      7.4.33-10.el8.remi                                     remi-safe
php74-php-ioncube-loader.x86_64                            13.0.2-1.el8.remi                                      remi-safe
php74-php-json.x86_64                                      7.4.33-10.el8.remi                                     remi-safe
php74-php-ldap.x86_64                                      7.4.33-10.el8.remi                                     remi-safe
php74-php-libvirt.x86_64                                   0.5.7-1.el8.remi                                       remi-safe
php74-php-libvirt-doc.noarch                               0.5.7-3.el8.remi                                       remi-safe
php74-php-litespeed.x86_64                                 7.4.33-10.el8.remi                                     remi-safe
php74-php-lz4.x86_64                                       0.4.3-1.el8.remi                                       remi-safe
php74-php-maxminddb.x86_64                                 1.11.1-1.el8.remi                                      remi-safe
php74-php-mbstring.x86_64                                  7.4.33-10.el8.remi                                     remi-safe
php74-php-mysqlnd.x86_64                                   7.4.33-10.el8.remi                                     remi-safe
php74-php-oci8.x86_64                                      7.4.33-10.el8.remi                                     remi-safe
php74-php-odbc.x86_64                                      7.4.33-10.el8.remi                                     remi-safe
php74-php-opcache.x86_64                                   7.4.33-10.el8.remi                                     remi-safe
php74-php-pdlib.x86_64                                     1.1.0-2.el8.remi                                       remi-safe
php74-php-pdo.x86_64                                       7.4.33-10.el8.remi                                     remi-safe
php74-php-pdo-dblib.x86_64                                 7.4.33-10.el8.remi                                     remi-safe
php74-php-pdo-firebird.x86_64                              7.4.33-10.el8.remi                                     remi-safe
php74-php-pear.noarch                                      1:1.10.14-1.el8.remi                                   remi-safe
php74-php-pecl-ahocorasick.x86_64                          0.0.7-3.el8.remi                                       remi-safe
php74-php-pecl-amqp.x86_64                                 2.1.1-1.el8.remi                                       remi-safe
php74-php-pecl-apcu.x86_64                                 5.1.23-1.el8.remi                                      remi-safe
php74-php-pecl-apcu-bc.x86_64                              1.0.5-3.el8.remi                                       remi-safe
php74-php-pecl-apcu-devel.x86_64                           5.1.23-1.el8.remi                                      remi-safe
php74-php-pecl-apfd.x86_64                                 1.0.3-1.el8.remi                                       remi-safe
php74-php-pecl-awscrt.x86_64                               1.2.3-1.el8.remi                                       remi-safe
php74-php-pecl-base58.x86_64                               1.0.2-5.el8.remi                                       remi-safe
php74-php-pecl-bitset.x86_64                               3.2.0-1.el8.remi                                       remi-safe
php74-php-pecl-bsdiff.x86_64                               0.1.2-1.el8.remi                                       remi-safe
php74-php-pecl-cassandra.x86_64                            1.3.2-8.el8.remi                                       remi-safe
php74-php-pecl-cmark.x86_64                                1.2.0-3.el8.remi                                       remi-safe
php74-php-pecl-couchbase2.x86_64                           2.6.2-2.el8.remi                                       remi-safe
php74-php-pecl-couchbase3.x86_64                           3.2.2-1.el8.remi                                       remi-safe
php74-php-pecl-couchbase4.x86_64                           4.1.0-1.el8.remi                                       remi-safe
php74-php-pecl-crypto.x86_64                               0.3.2-1.el8.remi                                       remi-safe
php74-php-pecl-csv.x86_64                                  0.3.2-1.el8.remi                                       remi-safe
php74-php-pecl-datadog-trace.x86_64                        0.96.0-1.el8.remi                                      remi-safe
php74-php-pecl-dbase.x86_64                                7.1.1-1.el8.remi                                       remi-safe
php74-php-pecl-decimal.x86_64                              1.4.0-1.el8.remi                                       remi-safe
php74-php-pecl-dio.x86_64                                  0.2.1-1.el8.remi                                       remi-safe
php74-php-pecl-druid.x86_64                                1.0.0-5.el8.remi                                       remi-safe
php74-php-pecl-ds.x86_64                                   1.5.0-1.el8.remi                                       remi-safe
php74-php-pecl-eio.x86_64                                  3.1.0-1.el8.remi                                       remi-safe
php74-php-pecl-env.x86_64                                  0.2.1-8.el8.remi                                       remi-safe
php74-php-pecl-ev.x86_64                                   1.1.5-1.el8.remi                                       remi-safe
php74-php-pecl-event.x86_64                                3.1.1-1.el8.remi                                       remi-safe
php74-php-pecl-excimer.x86_64                              1.1.1-1.el8.remi                                       remi-safe
php74-php-pecl-fann.x86_64                                 1.1.1-14.el8.remi                                      remi-safe
php74-php-pecl-gearman.x86_64                              2.1.0-1.el8.remi                                       remi-safe
php74-php-pecl-gender.x86_64                               1.1.0-14.el8.remi                                      remi-safe
php74-php-pecl-geoip.x86_64                                1.1.1-11.el8.remi                                      remi-safe
php74-php-pecl-geospatial.x86_64                           0.3.2-1.el8.remi                                       remi-safe
php74-php-pecl-gmagick.x86_64                              2.0.6~RC1-1.el8.remi                                   remi-safe
php74-php-pecl-gnupg.x86_64                                1.5.1-1.el8.remi                                       remi-safe
php74-php-pecl-grpc.x86_64                                 1.60.0-1.el8.remi                                      remi-safe
php74-php-pecl-handlebars.x86_64                           1.0.0-1.el8.remi                                       remi-safe
php74-php-pecl-hdr-histogram.x86_64                        0.4.2-3.el8.remi                                       remi-safe
php74-php-pecl-hprose.x86_64                               1.8.0-1.el8.remi                                       remi-safe
php74-php-pecl-hrtime.x86_64                               0.6.0-7.el8.remi                                       remi-safe
php74-php-pecl-http.x86_64                                 3.3.0-2.el8.remi                                       remi-safe
php74-php-pecl-http-devel.x86_64                           3.3.0-2.el8.remi                                       remi-safe
php74-php-pecl-http-message.x86_64                         1.0.0-1.el8.remi                                       remi-safe
php74-php-pecl-http-message-devel.x86_64                   1.0.0-1.el8.remi                                       remi-safe
php74-php-pecl-ice.x86_64                                  1.10.1-1.el8.remi                                      remi-safe
php74-php-pecl-igbinary.x86_64                             3.2.15-1.el8.remi                                      remi-safe
php74-php-pecl-igbinary-devel.x86_64                       3.2.15-1.el8.remi                                      remi-safe
php74-php-pecl-imagick.x86_64                              3.4.4-17.el8.remi                                      remi-safe
php74-php-pecl-imagick-devel.x86_64                        3.4.4-17.el8.remi                                      remi-safe
php74-php-pecl-imagick-im6.x86_64                          3.7.0-7.el8.remi                                       remi-safe
php74-php-pecl-imagick-im6-devel.x86_64                    3.7.0-7.el8.remi                                       remi-safe
php74-php-pecl-imagick-im7.x86_64                          3.7.0-7.el8.remi                                       remi-safe
php74-php-pecl-imagick-im7-devel.x86_64                    3.7.0-7.el8.remi                                       remi-safe
php74-php-pecl-immutable-cache.x86_64                      6.1.0-1.el8.remi                                       remi-safe
php74-php-pecl-inotify.x86_64                              3.0.0-1.el8.remi                                       remi-safe
php74-php-pecl-interbase.x86_64                            1.0.0~DEV.20190523-5.el8.remi                          remi-safe
php74-php-pecl-ip2location.x86_64                          8.2.0-2.el8.remi                                       remi-safe
php74-php-pecl-ip2proxy.x86_64                             3.0.3-3.el8.remi                                       remi-safe
php74-php-pecl-json-post.x86_64                            1.1.0-1.el8.remi                                       remi-safe
php74-php-pecl-jsonpath.x86_64                             1.0.1-1.el8.remi                                       remi-safe
php74-php-pecl-krb5.x86_64                                 1.1.5-1.el8.remi                                       remi-safe
php74-php-pecl-krb5-devel.x86_64                           1.1.5-1.el8.remi                                       remi-safe
php74-php-pecl-leveldb.x86_64                              0.3.0-1.el8.remi                                       remi-safe
php74-php-pecl-lua.x86_64                                  2.0.7-1.el8.remi                                       remi-safe
php74-php-pecl-luasandbox.x86_64                           4.1.2-1.el8.remi                                       remi-safe
php74-php-pecl-lzf.x86_64                                  1.7.0-1.el8.remi                                       remi-safe
php74-php-pecl-mailparse.x86_64                            3.1.6-1.el8.remi                                       remi-safe
php74-php-pecl-mcrypt.x86_64                               1.0.7-1.el8.remi                                       remi-safe
php74-php-pecl-memcache.x86_64                             4.0.5.2-1.el8.remi                                     remi-safe
php74-php-pecl-memcached.x86_64                            3.2.0-1.el8.remi                                       remi-safe
php74-php-pecl-memprof.x86_64                              3.0.2-1.el8.remi                                       remi-safe
php74-php-pecl-mogilefs.x86_64                             0.9.3.1-10.el8.remi                                    remi-safe
php74-php-pecl-mongodb.x86_64                              1.17.2-1.el8.remi                                      remi-safe
php74-php-pecl-mosquitto.x86_64                            0.4.0-7.el8.remi                                       remi-safe
php74-php-pecl-msgpack.x86_64                              2.2.0-1.el8.remi                                       remi-safe
php74-php-pecl-msgpack-devel.x86_64                        2.2.0-1.el8.remi                                       remi-safe
php74-php-pecl-mustache.x86_64                             0.9.3-1.el8.remi                                       remi-safe
php74-php-pecl-mysql.x86_64                                1.0.0-0.23.20190415.d7643af.el8.remi                   remi-safe
php74-php-pecl-mysql-xdevapi.x86_64                        8.0.30-1.el8.remi                                      remi-safe
php74-php-pecl-mysqlnd-azure.x86_64                        1.1.1-1.el8.remi                                       remi-safe
php74-php-pecl-mysqlnd-krb.x86_64                          1.0.0-1.el8.remi                                       remi-safe
php74-php-pecl-nsq.x86_64                                  3.5.1-1.el8.remi                                       remi-safe
php74-php-pecl-oauth.x86_64                                2.0.7-1.el8.remi                                       remi-safe
php74-php-pecl-opencensus.x86_64                           0.3.0-1.el8.remi                                       remi-safe
php74-php-pecl-openswoole.x86_64                           4.12.1-1.el8.remi                                      remi-safe
php74-php-pecl-openswoole22.x86_64                         22.0.0-1.el8.remi                                      remi-safe
php74-php-pecl-orng.x86_64                                 0.0.3-1.el8.remi                                       remi-safe
php74-php-pecl-pam.x86_64                                  2.2.5-1.el8.remi                                       remi-safe
php74-php-pecl-parle.x86_64                                0.8.5-1.el8.remi                                       remi-safe
php74-php-pecl-pcov.x86_64                                 1.0.11-1.el8.remi                                      remi-safe
php74-php-pecl-pcs.x86_64                                  1.3.7-1.el8.remi                                       remi-safe
php74-php-pecl-pcs-devel.x86_64                            1.3.7-1.el8.remi                                       remi-safe
php74-php-pecl-pcsc.x86_64                                 0.5.1-1.el8.remi                                       remi-safe
php74-php-pecl-pcsc-devel.x86_64                           0.5.1-1.el8.remi                                       remi-safe
php74-php-pecl-pdflib.x86_64                               4.1.3-1.el8.remi                                       remi-safe
php74-php-pecl-pkcs11.x86_64                               1.1.2-1.el8.remi                                       remi-safe
php74-php-pecl-pq.x86_64                                   2.2.2-1.el8.remi                                       remi-safe
php74-php-pecl-propro.x86_64                               2.1.0-5.el8.remi                                       remi-safe
php74-php-pecl-propro-devel.x86_64                         2.1.0-5.el8.remi                                       remi-safe
php74-php-pecl-protobuf.x86_64                             3.24.4-1.el8.remi                                      remi-safe
php74-php-pecl-ps.x86_64                                   1.4.4-1.el8.remi                                       remi-safe
php74-php-pecl-psr.x86_64                                  1.2.0-1.el8.remi                                       remi-safe
php74-php-pecl-psr-devel.x86_64                            1.2.0-1.el8.remi                                       remi-safe
php74-php-pecl-quickhash.x86_64                            1.1.1-1.el8.remi                                       remi-safe
php74-php-pecl-radius.x86_64                               1.4.0-0.7.b1.el8.remi                                  remi-safe
php74-php-pecl-raphf.x86_64                                2.0.1-1.el8.remi                                       remi-safe
php74-php-pecl-raphf-devel.x86_64                          2.0.1-1.el8.remi                                       remi-safe
php74-php-pecl-rar.x86_64                                  4.2.0-1.el8.remi                                       remi-safe
php74-php-pecl-rdkafka.x86_64                              3.1.2-2.el8.remi                                       remi-safe
php74-php-pecl-rdkafka4.x86_64                             4.1.2-1.el8.remi                                       remi-safe
php74-php-pecl-rdkafka5.x86_64                             5.0.2-1.el8.remi                                       remi-safe
php74-php-pecl-rdkafka6.x86_64                             6.0.3-2.el8.remi                                       remi-safe
php74-php-pecl-recode.x86_64                               1.0.0~DEV.20190723-6.el8.remi                          remi-safe
php74-php-pecl-redis4.x86_64                               4.3.0-4.el8.remi                                       remi-safe
php74-php-pecl-redis5.x86_64                               5.3.7-1.el8.remi                                       remi-safe
php74-php-pecl-redis6.x86_64                               6.0.2-1.el8.remi                                       remi-safe
php74-php-pecl-request.x86_64                              2.0.0-1.el8.remi                                       remi-safe
php74-php-pecl-rpminfo.x86_64                              0.6.0-1.el8.remi                                       remi-safe
php74-php-pecl-rrd.x86_64                                  2.0.3-1.el8.remi                                       remi-safe
php74-php-pecl-runkit7.x86_64                              4.0.0~a6-1.el8.remi                                    remi-safe
php74-php-pecl-scoutapm.x86_64                             1.10.0-1.el8.remi                                      remi-safe
php74-php-pecl-scrypt.x86_64                               2.0.1-1.el8.remi                                       remi-safe
php74-php-pecl-sdl.x86_64                                  2.4.0-1.el8.remi                                       remi-safe
php74-php-pecl-sdl-ttf.x86_64                              0.3.0-1.el8.remi                                       remi-safe
php74-php-pecl-seasclick.x86_64                            0.1.1-1.el8.remi                                       remi-safe
php74-php-pecl-seaslog.x86_64                              2.2.0-1.el8.remi                                       remi-safe
php74-php-pecl-seassnowflake.x86_64                        1.0.0-1.el8.remi                                       remi-safe
php74-php-pecl-selinux.x86_64                              0.6.0-1.el8.remi                                       remi-safe
php74-php-pecl-simdjson.x86_64                             4.0.0-1.el8.remi                                       remi-safe
php74-php-pecl-simple-kafka-client.x86_64                  0.1.4-4.el8.remi                                       remi-safe
php74-php-pecl-skywalking.x86_64                           5.0.1-1.el8.remi                                       remi-safe
php74-php-pecl-skywalking-agent.x86_64                     0.7.0-1.el8.remi                                       remi-safe
php74-php-pecl-solr2.x86_64                                2.6.0-1.el8.remi                                       remi-safe
php74-php-pecl-sphinx.x86_64                               1.4.0-0.8.20181116.d958afb.el8.remi                    remi-safe
php74-php-pecl-ssdeep.x86_64                               1.1.0-5.el8.remi                                       remi-safe
php74-php-pecl-ssh2.x86_64                                 1.4-2.el8.remi                                         remi-safe
php74-php-pecl-stats.x86_64                                2.0.3-10.el8.remi                                      remi-safe
php74-php-pecl-stomp.x86_64                                2.0.3-1.el8.remi                                       remi-safe
php74-php-pecl-svn.x86_64                                  2.0.3-1.el8.remi                                       remi-safe
php74-php-pecl-swoole4.x86_64                              4.8.13-1.el8.remi                                      remi-safe
php74-php-pecl-sync.x86_64                                 1.1.3-1.el8.remi                                       remi-safe
php74-php-pecl-taint.x86_64                                2.1.0-1.el8.remi                                       remi-safe
php74-php-pecl-tensor.x86_64                               3.0.4-1.el8.remi                                       remi-safe
php74-php-pecl-timecop.x86_64                              1.2.10-9.el8.remi                                      remi-safe
php74-php-pecl-trader.x86_64                               0.5.1-1.el8.remi                                       remi-safe
php74-php-pecl-translit.x86_64                             0.7.1-1.el8.remi                                       remi-safe
php74-php-pecl-trie.x86_64                                 0.1.2-1.el8.remi                                       remi-safe
php74-php-pecl-uopz.x86_64                                 6.1.2-1.el8.remi                                       remi-safe
php74-php-pecl-uploadprogress.x86_64                       2.0.2-1.el8.remi                                       remi-safe
php74-php-pecl-uuid.x86_64                                 1.2.0-1.el8.remi                                       remi-safe
php74-php-pecl-uv.x86_64                                   0.2.4-3.el8.remi                                       remi-safe
php74-php-pecl-var-representation.x86_64                   0.1.4-1.el8.remi                                       remi-safe
php74-php-pecl-varnish.x86_64                              1.2.6-1.el8.remi                                       remi-safe
php74-php-pecl-vips.x86_64                                 1.0.13-2.el8.remi                                      remi-safe
php74-php-pecl-vld.x86_64                                  0.18.0-1.el8.remi                                      remi-safe
php74-php-pecl-wddx.x86_64                                 1.0.0~DEV.20190320-6.el8.remi                          remi-safe
php74-php-pecl-weakreference-bc.x86_64                     0.4.1-1.el8.remi                                       remi-safe
php74-php-pecl-xattr.x86_64                                1.4.0-1.el8.remi                                       remi-safe
php74-php-pecl-xdebug.x86_64                               2.9.8-1.el8.remi                                       remi-safe
php74-php-pecl-xdebug3.x86_64                              3.1.6-1.el8.remi                                       remi-safe
php74-php-pecl-xdiff.x86_64                                2.1.1-1.el8.remi                                       remi-safe
php74-php-pecl-xhprof.x86_64                               2.3.9-1.el8.remi                                       remi-safe
php74-php-pecl-xlswriter.x86_64                            1.5.5-1.el8.remi                                       remi-safe
php74-php-pecl-xmldiff.x86_64                              1.1.3-1.el8.remi                                       remi-safe
php74-php-pecl-xmldiff-devel.x86_64                        1.1.3-1.el8.remi                                       remi-safe
php74-php-pecl-xxtea.x86_64                                1.0.11-8.el8.remi                                      remi-safe
php74-php-pecl-yac.x86_64                                  2.3.1-5.el8.remi                                       remi-safe
php74-php-pecl-yaconf.x86_64                               1.1.2-1.el8.remi                                       remi-safe
php74-php-pecl-yaconf-devel.x86_64                         1.1.2-1.el8.remi                                       remi-safe
php74-php-pecl-yaf.x86_64                                  3.3.5-1.el8.remi                                       remi-safe
php74-php-pecl-yaml.x86_64                                 2.2.3-1.el8.remi                                       remi-safe
php74-php-pecl-yar.x86_64                                  2.3.2-1.el8.remi                                       remi-safe
php74-php-pecl-yaz.x86_64                                  1.2.4-1.el8.remi                                       remi-safe
php74-php-pecl-zip.x86_64                                  1.22.3-1.el8.remi                                      remi-safe
php74-php-pecl-zmq.x86_64                                  1.1.3-11.el8.remi                                      remi-safe
php74-php-pggi.x86_64                                      0.4.1-1.el8.remi                                       remi-safe
php74-php-pgsql.x86_64                                     7.4.33-10.el8.remi                                     remi-safe
php74-php-phalcon4.x86_64                                  4.1.2-1.el8.remi                                       remi-safe
php74-php-phalcon5.x86_64                                  5.4.0-1.el8.remi                                       remi-safe
php74-php-phpiredis.x86_64                                 1.0.1-1.el8.remi                                       remi-safe
php74-php-pinba.x86_64                                     1.1.2-1.el8.remi                                       remi-safe
php74-php-process.x86_64                                   7.4.33-10.el8.remi                                     remi-safe
php74-php-pspell.x86_64                                    7.4.33-10.el8.remi                                     remi-safe
php74-php-realpath-turbo.x86_64                            2.0.0-1.el8.remi                                       remi-safe
php74-php-smbclient.x86_64                                 1.1.1-1.el8.remi                                       remi-safe
php74-php-snappy.x86_64                                    0.2.1-1.el8.remi                                       remi-safe
php74-php-snmp.x86_64                                      7.4.33-10.el8.remi                                     remi-safe
php74-php-snuffleupagus.x86_64                             0.10.0-1.el8.remi                                      remi-safe
php74-php-soap.x86_64                                      7.4.33-10.el8.remi                                     remi-safe
php74-php-sodium.x86_64                                    7.4.33-10.el8.remi                                     remi-safe
php74-php-sqlsrv.x86_64                                    5.10.1-2.el8.remi                                      remi-safe
php74-php-tidy.x86_64                                      7.4.33-10.el8.remi                                     remi-safe
php74-php-wkhtmltox.x86_64                                 0.3.2-0.5.20171112.fecc9af.el8.remi                    remi-safe
php74-php-xml.x86_64                                       7.4.33-10.el8.remi                                     remi-safe
php74-php-xmlrpc.x86_64                                    7.4.33-10.el8.remi                                     remi-safe
php74-php-xz.x86_64                                        1.1.2-1.el8.remi                                       remi-safe
php74-php-zephir-parser.x86_64                             1.6.0-1.el8.remi                                       remi-safe
php74-php-zephir-parser-devel.x86_64                       1.6.0-1.el8.remi                                       remi-safe
php74-php-zstd.x86_64                                      0.13.1-1.el8.remi                                      remi-safe
php74-php-zstd-devel.x86_64                                0.13.1-1.el8.remi                                      remi-safe
php74-runtime.x86_64                                       7.4-3.el8.remi                                         remi-safe
php74-scldevel.x86_64                                      7.4-3.el8.remi                                         remi-safe
php74-syspaths.x86_64                                      7.4-3.el8.remi                                         remi-safe
php74-unit-php.x86_64                                      1.31.1-1.el8.remi                                      remi-safe
php74-uwsgi-plugin-php.x86_64                              2.0.23-1.el8.remi                                      remi-safe
php74-xhprof.noarch                                        2.3.9-1.el8.remi                                       remi-safe
php74-zephir.noarch                                        0.10.16-1.el8.remi                                     remi-safe

the above lists every single PHP 7.4 package/module that Remi has.

Filtered for redis:

[root@rocky8 ~]# dnf list available php74* | grep -i redis
php74-php-pecl-redis4.x86_64              4.3.0-4.el8.remi                     remi-safe
php74-php-pecl-redis5.x86_64              5.3.7-1.el8.remi                     remi-safe
php74-php-pecl-redis6.x86_64              6.0.2-1.el8.remi                     remi-safe
php74-php-phpiredis.x86_64                1.0.1-1.el8.remi                     remi-safe

Also checking Nextcloud: System requirements — Nextcloud latest Administration Manual latest documentation you can use PHP 8.x versions here which is by far better than Owncloud if they really do only support PHP 7.4. Mainly because PHP 7.4 is no longer updated and is effectively EOL.

That would be one big reason for me to move away from Owncloud to be honest. I haven’t checked their docs to see if they only support PHP 7.4 but would be a really weird thing - sounds like they are no longer maintaining the product if that is the case.

Hi,

I think you should find the required in remi’s repo.

But from reading the docs, redis is only a recommended not a required for owncloud.

Regards Tom.

Our resources post and wiki talk about community repositories, especially Remi’s repositories for PHP.

1 Like

I really don’t want to move from OwnCloud to Nextcloud. OwnCloud is moving forward slowly (which is good) whereas Nextcloud is one of those projects that frantically churns out releases. I bluntly admit I hate that. Been a happy camper with OwnCloud for the last ten years or so, and I see no reason to switch.

Looks like I can’t really use this module, for a host of reasons.

  1. OwnCloud only works with PHP 7.4.
  2. PHP 7.4 is an LTS release under Rocky Linux 8.
  3. The official version doesn’t provide the Redis module.
  4. The Remi repository does provide it, but it is officially stale and unmaintained even now.
  5. Even then, mixing the Remi repo PHP with the official PHP is a bad idea.

Right now I want to meet the guy who wrote OwnCloud’s documentation and rub his nose in the section where it says “RHEL 8.x is officially supported”. You ask them in their forum, they tell you to “upgrade your distribution”. Pffff. This is one of those days where I want to switch jobs and never touch a computer again.

What remi is referencing is this: https://www.php.net/supported-versions.php

He’s referring to upstream. Now whether Remi adds extra things later to his rpms or not to fix things I couldn’t answer that.

Theoretically you can use RHEL’s PHP 7.4 version and compile in the redis module yourself. It may be possible to install using pecl. I use pecl for example, to install things like sqlsrv or pdo_sqlsrv for MSSQL.

I would be inclined to ask them to support PHP 8.x, especially since PHP 7.4 is EOL. Even more considering them telling you to upgrade the distro. Incidently, doing that eg to EL9 would mean PHP 8.0 being available. And then you won’t have PHP 7.4 - would that mean owncloud tell you to downgrade? I find owncloud’s response amusing.

If you did use remi, you wouldn’t mix with the PHP 7.4 that the distro has. You remove that, and just install the php74-* packages from remi.

False, see PHP 7.4 is retired - Remi's RPM repository - Blog

1 Like

Using “remi” you don’t need pecl, most extensions are available, including sqlsrv and pdo_srlsrv,
see: PHP extensions RPM status (from PECL and other sources) - Remi's RPM repository - Blog

AFAIK, ownCloud as a PHP app is a dead thing
They are working on a full rewrite in another language, and PHP 8 support is not planned
See Go, Cloud, Go! Infinite Scale completely modernized in Go

Notice than the php74 packages are SCL, designed to be installed beside system default version
Read: English : FAQ - Remi's RPM repository - Blog

If a single version is needed, simpler to use the modules

For a proper repository installation and usage, see Remi's RPM repository

But yes it is possible to install various versions, especially an old 7.4 for legacy app (such as ownCloud)
Ex: My PHP development Workstation - Remi's RPM repository - Blog

I’m not sure I follow you. You did confirm what I wrote, e. g. your repository does provide PHP 7.4 with all the needed modules, but since PHP 7.4 is officially dead, the packages in your repo (which are not LTS as opposed to the 7.4 packages provided by RHEL) should not be used.

I vaguely remember having used pecl years ago (something like a decade and a half) to install some exotic PHP module on a Slackware server hosting a public library application with a handful of weird prerequisites. I don’t have the slightest memory of how I did go about that.

Ideally, it would be great if I could build this missing module on my local server, a bit like the odd stuff you build locally and put in /usr/local. How would I go about that?

Even better, I have my own RPM repository for the odd missing stuff, mostly bits for the desktop. Usually I hunt down the corresponding SRPM in the fedora repositories and then build it on my workstation using Mock. I have the vague intuition this would be a complicated task with a single PHP module. Or is it ?

I’m aware that OwnCloud is currently in a transition-and-rewrite period. I’m currently missing this single element to be able to host OwnCloud until 2029, so help would be appreciated. If Nextcloud really is the future, then I will gladly use it in the future. :slightly_smiling_face:

Cheers,

Niki

Have you read the blog article?

It said that 7.4 is retired BUT that my repository provides security backports (all CVEs fixed in latest PHP versions). See the package ChangeLog

Of course, using a maintained version is still recommended and encouraged.

And for your information, this is managed in GitHub - remicollet/php-src-security: Security backports for EOL versions of PHP. and used by various distro for their packages (Debian, RHEL…)

1 Like

Yes I know, but the OP seems to prefer using the RHEL version, hence the other option of them building it themselves using pecl. My earlier posts in this thread, also show command line and all modules as well as grepped showing redis modules provided in your repository so that they can choose which way to go.

I also know this, but the OP didn’t want to have multiple versions installed, hence the suggestion of just installing PHP74* packages from your repository. I had also provided link in another owncloud post to your repository wizard, so they could pick/choose how to install it.

I’m sorry, there has been a misunderstanding. Thanks for the clarification. I guess I will wipe the “official” PHP from my server and replace it with your version.

Thank you for your work !

Niki

I decided to describe my ignorance in a little blog article :

https://blog.microlinux.fr/php-remi-rocky-linux-8/

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