Redis has gone away.. Is This Redis Config No Good Anymore?

Steps to reproduce

  1. see description for codes

Expected behaviour

Should be able to navigate and click images without redis breaking

Actual behaviour

after configuring the config.php file. Click on an image and instead of it enlarging a page shows up that says redis has gone away.

Server configuration

Operating system: Ubuntu server 18.04

Web server:

Database:
mysql

PHP version:
latest as of today
ownCloud version: (see ownCloud admin page)
10.2.1

Updated from an older ownCloud or fresh install:
Fresh install

Where did you install ownCloud from:
used a site https://linuxize.com/post/how-to-install-and-configure-owncloud-on-ubuntu-18-04/#step-5-configuring-apache

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and puth the link here.

The content of config/config.php:

{
    "system": {
        "instanceid": "ochuyxj8jbfp",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "removed",
            "removed"
        ],
        "datadirectory": "\/var\/www\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/localhost\/",
        "dbtype": "sqlite3",
        "version": "10.2.1.4",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "apps_paths": [
            {
                "path": "\/var\/www\/owncloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/owncloud\/apps-external",
                "url": "\/apps-external",
                "writable": true
            }
        ],
        "installed": true
    }
}

List of activated apps:


Enabled:
  - comments: 0.3.0
  - configreport: 0.2.0
  - dav: 0.4.0
  - federatedfilesharing: 0.4.0
  - federation: 0.1.0
  - files: 1.5.2
  - files_external: 0.7.1
  - files_sharing: 0.11.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.10.1
  - firstrunwizard: 1.2.0
  - gallery: 16.1.1
  - market: 0.5.0
  - notifications: 0.5.0
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - user_external

Are you using external storage, if yes which one: local/smb/sftp/…
no
Are you using encryption: yes/no
no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
no

Client configuration

Browser:
Chrome

Operating system:
Ubuntu server 18.04

ok so the issue I am having is with the Redis cache in the config.php file. Every time I mess with it I get a message that says Redis went away.

my original config.php looks like this

<?PHP
$CONFIG = array (
  'instanceid' => 'ochuyxj8jbfp',
  'passwordsalt' => 'Removed',
  'secret' => 'removed',
  'trusted_domains' =>
  array (
    0 => 'removed',
    1 => 'removed',
  ),
  'datadirectory' => '/var/www/owncloud/data',
  'overwrite.cli.url' => 'http://localhost/',
  'dbtype' => 'sqlite3',
  'version' => '10.2.1.4',
  'dbname' => 'owncloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'removed',
  'dbpassword' => 'removed',
  'logtimezone' => 'UTC',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/owncloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/owncloud/apps-external',
      'url' => '/apps-external',
      'writable' => true,
    ),
  ),
  'installed' => true,
);

what I am trying to add to that is this

'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'redis' => 
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),

so all in all the final would look like this after I paste towards the bottom just before the last );


<?PHP
$CONFIG = array (
  'instanceid' => 'ochuyxj8jbfp',
  'passwordsalt' => 'Removed',
  'secret' => 'removed',
  'trusted_domains' =>
  array (
    0 => 'removed',
    1 => 'removed',
  ),
  'datadirectory' => '/var/www/owncloud/data',
  'overwrite.cli.url' => 'http://localhost/',
  'dbtype' => 'sqlite3',
  'version' => '10.2.1.4',
  'dbname' => 'owncloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'removed',
  'dbpassword' => 'removed',
  'logtimezone' => 'UTC',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/owncloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/owncloud/apps-external',
      'url' => '/apps-external',
      'writable' => true,
    ),
  ),
  'installed' => true,
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'redis' => 
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
);

I then use sudo systemctl enable redis-server

and that’s all it takes to break it. I am not sure if I put it in the wrong spot, it it’s not right anymorew, if there is a ), or an ); out of place or what. any help with this would be great. Thank you!

also I did this as well so the ports and stuff match up


change port 6379 to port 0

Uncoment:
unixsocket /var/run/redis/redis.sock
and
unixsocketperm 700
and CHANGE to unixsocketperm 770

save and quit

Hello,

do you have php-redis installed ?
By the way I doubt you have to set the port if you use the socket.
Could you try this ?
Thanks.

Which PHP version exactly, run php --version. Can you generate a config report, without the redis configuration in your config.php?

php -m will tell you which CLI php modules are available and the config report also runs a phpinfo() which will tell you which modules are available to apache. Make sure that php-redis is installed and available, like @cs35 said.

Have you actually started the Redis server? Because systemctl enable redis-server will only start the redis-server at the next reboot.

When you run systemctl status redis-server after systemctl start redis-server does it show that redis is actually running? Give the status command some time, because it can sometimes show success right after the start command, but the service fails a little later.

Finally do you get any errors in the owncloud.log, apache logs (/var/log/apache/...), redis logs or system log (only if there isn’t anything in any of the other logs).

yes I did install the php redis

using this

sudo apt install php-apcu redis-server php-redis

this is what I get after running php --version

# php --version
PHP 7.2.19-0ubuntu0.18.04.2 (cli) (built: Aug 12 2019 19:34:28) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.19-0ubuntu0.18.04.2, Copyright (c) 1999-2018, by Zend Technologies

php -m

[PHP Modules]
apc
apcu
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
igbinary
imagick
imap
intl
json
ldap
libsmbclient
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
redis
Reflection
session
shmop
SimpleXML
smbclient
sockets
sodium
SPL
sqlite3
ssh2
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

When I run the command: systemct1 status redis-server I get this

 redis-server.service - Advanced key-value store
   Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor pre
   Active: active (running) since Mon 2019-08-19 15:53:21 UTC; 4h 24min ago
     Docs: http://redis.io/documentation,
           man:redis-server(1)
 Main PID: 1210 (redis-server)
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/redis-server.service
           └─1210 /usr/bin/redis-server 127.0.0.1:0

Aug 19 15:53:20 richserver systemd[1]: Starting Advanced key-value store...
Aug 19 15:53:21 richserver systemd[1]: Started Advanced key-value store.

When I check the apache2 error.log file I did see this in there:

[Mon Aug 19 02:54:50.382107 2019] [mpm_prefork:notice] [pid 29580] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 configured -- resuming normal operations
[Mon Aug 19 02:54:50.382255 2019] [core:notice] [pid 29580] AH00094: Command line: '/usr/sbin/apache2'
[Mon Aug 19 02:54:57.210430 2019] [authz_core:error] [pid 29593] [client REMOVED:63471] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Aug 19 02:55:53.990137 2019] [authz_core:error] [pid 29604] [client REMOVED:63494] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Aug 19 03:05:43.316945 2019] [mpm_prefork:notice] [pid 29580] AH00169: caught SIGTERM, shutting down
[Mon Aug 19 03:05:43.558132 2019] [mpm_prefork:notice] [pid 31014] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 configured -- resuming normal operations
[Mon Aug 19 03:05:43.558277 2019] [core:notice] [pid 31014] AH00094: Command line: '/usr/sbin/apache2'
[Mon Aug 19 03:25:24.322321 2019] [php7:emerg] [pid 31399] [client REMOVED:64361] PHP Parse error:  syntax error, unexpected ';', expecting ')' in /var/www/owncloud/config/config.php on line 47
[Mon Aug 19 03:25:49.850514 2019] [php7:error] [pid 31402] [client REMOVED:64362] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/owncloud/index.php:86\nStack trace:\n#0 {main}\n  thrown in /var/www/owncloud/index.php on line 86
[Mon Aug 19 03:25:54.315376 2019] [php7:emerg] [pid 31020] [client REMOVED:64364] PHP Parse error:  syntax error, unexpected ';', expecting ')' in /var/www/owncloud/config/config.php on line 47
[Mon Aug 19 03:25:56.141044 2019] [php7:error] [pid 31373] [client REMOVED:64365] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/owncloud/index.php:86\nStack trace:\n#0 {main}\n  thrown in /var/www/owncloud/index.php on line 86
[Mon Aug 19 03:26:24.319072 2019] [php7:emerg] [pid 31073] [client REMOVED:64366] PHP Parse error:  syntax error, unexpected ';', expecting ')' in /var/www/owncloud/config/config.php on line 47
[Mon Aug 19 03:27:12.597389 2019] [php7:error] [pid 31020] [client REMOVED:64380] PHP Fatal error:  Uncaught Error: Class '\\OC\\Memcache\\redis' not found in /var/www/owncloud/lib/private/Memcache/Factory.php:84\nStack trace:\n#0 /var/www/owncloud/lib/private/Server.php(446): OC\\Memcache\\Factory->$
[Mon Aug 19 03:27:12.639175 2019] [php7:error] [pid 31373] [client REMOVED:64381] PHP Fatal error:  Uncaught Error: Class '\\OC\\Memcache\\redis' not found in /var/www/owncloud/lib/private/Memcache/Factory.php:84\nStack trace:\n#0 /var/www/owncloud/lib/private/Server.php(446): OC\\Memcache\\Factory->$
[Mon Aug 19 03:27:12.641564 2019] [php7:error] [pid 31073] [client REMOVED:64382] PHP Fatal error:  Uncaught Error: Class '\\OC\\Memcache\\redis' not found in /var/www/owncloud/lib/private/Memcache/Factory.php:84\nStack trace:\n#0 /var/www/owncloud/lib/private/Server.php(446): OC\\Memcache\\Factory->$
[Mon Aug 19 03:27:18.044334 2019] [php7:error] [pid 31022] [client REMOVED:64384] PHP Fatal error:  Uncaught Error: Class '\\OC\\Memcache\\redis' not found in /var/www/owncloud/lib/private/Memcache/Factory.php:84\nStack trace:\n#0 /var/www/owncloud/lib/private/Server.php(446): OC\\Memcache\\Factory->$
[Mon Aug 19 03:27:24.324375 2019] [php7:error] [pid 31019] [client REMOVED:64387] PHP Fatal error:  Uncaught Error: Class '\\OC\\Memcache\\redis' not found in /var/www/owncloud/lib/private/Memcache/Factory.php:84\nStack trace:\n#0 /var/www/owncloud/lib/private/Server.php(446): OC\\Memcache\\Factory->$
[Mon Aug 19 06:02:24.823796 2019] [authz_core:error] [pid 31072] [client REMOVED:49344] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Aug 19 06:10:24.925044 2019] [php7:emerg] [pid 31026] [client REMOVED:49438] PHP Parse error:  syntax error, unexpected ';', expecting ')' in /var/www/owncloud/config/config.php on line 47
[Mon Aug 19 06:10:32.716205 2019] [php7:error] [pid 31076] [client REMOVED:49439] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/owncloud/index.php:86\nStack trace:\n#0 {main}\n  thrown in /var/www/owncloud/index.php on line 86
[Mon Aug 19 06:20:56.839443 2019] [php7:error] [pid 31402] [client REMOVED:49581] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/owncloud/index.php:86\nStack trace:\n#0 {main}\n  thrown in /var/www/owncloud/index.php on line 86
[Mon Aug 19 06:22:45.372013 2019] [php7:error] [pid 31399] [client REMOVED:49592] PHP Fatal error:  Uncaught RedisException: Redis server went away in /var/www/owncloud/lib/private/Memcache/Redis.php:49\nStack trace:\n#0 /var/www/owncloud/lib/private/Memcache/Redis.php(49): Redis->get('4e5704f8d5a466$
[Mon Aug 19 06:43:51.844357 2019] [authz_core:error] [pid 1389] [client REMOVED:49846] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Aug 19 06:50:52.783692 2019] [authz_core:error] [pid 31026] [client REMOVED:49989] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Aug 19 06:53:07.721257 2019] [php7:error] [pid 2679] [client REMOVED:50053] PHP Fatal error:  Uncaught RedisException: Redis server went away in /var/www/owncloud/lib/private/Memcache/Redis.php:49\nStack trace:\n#0 /var/www/owncloud/lib/private/Memcache/Redis.php(49): Redis->get('4e5704f8d5a466a$
[Mon Aug 19 06:53:45.344068 2019] [authz_core:error] [pid 31373] [client REMOVED:50064] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Aug 19 06:55:37.377895 2019] [authz_core:error] [pid 31026] [client REMOVED:50084] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Aug 19 06:58:16.452784 2019] [authz_core:error] [pid 31022] [client REMOVED:50111] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Aug 19 07:00:51.934717 2019] [authz_core:error] [pid 2790] [client REMOVED:50146] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt

and as far as running the commands for the config report I get an error

Could not open input file: occ

However as of right now my config file looks like this:

<?php
$CONFIG = array (
  'instanceid' => 'removed',
  'passwordsalt' => 'removed',
  'secret' => 'removed',
  'trusted_domains' =>
  array (
    0 => 'removed',
    1 => 'removed',
  ),
  'datadirectory' => '/var/www/owncloud/data',
  'overwrite.cli.url' => 'http://localhost/',
  'dbtype' => 'sqlite3',
  'version' => '10.2.1.4',
  'dbname' => 'owncloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'removed',
  'dbpassword' => 'removed',
  'logtimezone' => 'UTC',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/owncloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/owncloud/apps-external',
      'url' => '/apps-external',
      'writable' => true,
    ),
  ),
  'installed' => true,
  'mail_domain' => 'gmail.com',
  'mail_from_address' => 'removed',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.gmail.com    ',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'removed',
  'mail_smtppassword' => 'removed',
  'mail_smtpsecure' => 'ssl',
);

The whole line 47 thing… I am sure that was before I tried to get the email to work, as none of that email stuff was there before this.

THIS is what was in there when I had the message:

<?PHP
$CONFIG = array (
  'instanceid' => 'removed',
  'passwordsalt' => 'removed',
  'secret' => 'removed',
  'trusted_domains' =>
  array (
    0 => 'removed',
    1 => 'removed',
  ),
  'datadirectory' => '/var/www/owncloud/data',
  'overwrite.cli.url' => 'http://localhost/',
  'dbtype' => 'sqlite3',
  'version' => '10.2.1.4',
  'dbname' => 'owncloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'removed',
  'dbpassword' => 'removed',
  'logtimezone' => 'UTC',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/owncloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/owncloud/apps-external',
      'url' => '/apps-external',
      'writable' => true,
    ),
  ),
  'installed' => true,
  'memcache.local' => '\OC\Memcache\APCu',
'filelocking.enabled' => 'true',
'redis' => 
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
'memcache.locking' => '\\OC\\Memcache\\Redis',
),
);

Looks like line 47 is that very last line at the bottom which is the ); right after the ), I am not sure if something there is wrong. I have used this exact same setup before with no issues, unless something has changed.

Thanks again.

You should also be able to generate a config report through the webinterface, as long as you don’t have the redis configuration in your config.php. As you need to make sure the redis module is enabled for apache php.

1 Like

Hey,

i think this could play a role as well to allow access to the socket as long as the www-data user doesn’t belong to the redis group.

Hopefully this contains what you are looking for.

{
    "basic": {
        "license key": "***REMOVED SENSITIVE VALUE***",
        "date": "Tue, 20 Aug 2019 17:47:32 +0000",
        "ownCloud version": "10.2.1.4",
        "ownCloud version string": "10.2.1",
        "ownCloud edition": "Community",
        "server OS": "Linux",
        "server OS version": "Linux REMOVEDserver 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64",
        "server SAPI": "apache2handler",
        "webserver version": "Apache\/2.4.29 (Ubuntu)",
        "hostname": "REMOVED",
        "logged-in user": "REMOVED"
    },
    "stats": {
        "users": {
            "Database": {
                "count": 1,
                "seen": 1,
                "logged in (30 days)": 1
            }
        },
        "groups": {
            "OC\\Group\\Database": 1
        }
    },
    "config": {
        "instanceid": "ochuyxj8jbfp",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "REMOVED",
            "REMOVED"
        ],
        "datadirectory": "\/var\/www\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/localhost\/",
        "dbtype": "sqlite3",
        "version": "10.2.1.4",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "apps_paths": [
            {
                "path": "\/var\/www\/owncloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/owncloud\/apps-external",
                "url": "\/apps-external",
                "writable": true
            }
        ],
        "installed": true,
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl"
    },
    "integritychecker": {
        "passing": true,
        "enabled": true,
        "result": []
    },
    "core": {
        "installedat": "1566182306.7625",
        "lastupdatedat": "1566323217",
        "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
        "public_files": "files_sharing\/public.php",
        "first_install_version": "10.2.1.4",
        "lastcron": "1566323104",
        "backgroundjobs_mode": "cron",
        "lastupdateResult": "[]"
    },
    "apps": [
        {
            "id": "federation",
            "name": "Federation",
            "description": "ownCloud Federation allows you to connect with other trusted ownClouds to exchange the user directory. For example this will be used to auto-complete external users for federated sharing.",
            "licence": "AGPL",
            "author": "Bjoern Schiessle",
            "version": "0.1.0",
            "namespace": "Federation",
            "category": "other",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10",
                        "max-version": "10"
                    }
                }
            },
            "default_enable": "",
            "types": [
                "authentication"
            ],
            "background-jobs": {
                "job": "OCA\\Federation\\SyncJob"
            },
            "commands": {
                "command": "OCA\\Federation\\Command\\SyncFederationAddressBooks"
            },
            "settings": {
                "admin": "OCA\\Federation\\Panels\\Admin"
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "_cached": true,
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/federation\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.1.0",
                "types": "authentication",
                "enabled": "yes"
            }
        },
        {
            "id": "files_trashbin",
            "name": "Deleted files",
            "description": "This application enables users to restore files that were deleted from the system. It displays a list of deleted files in the web interface, and has options to restore those deleted files back to their ownCloud file directories or remove them permanently from the system. Restoring a file also restores related file versions, if the versions application is enabled. When a file is deleted from a share, it can be restored in the same manner, though it is no longer shared. By default, these files remain in the trash bin for 30 days. To prevent a user from running out of disk space, the ownCloud Deleted files app will not utilize more than 50% of the currently available free quota for deleted files. If the deleted files exceed this limit, ownCloud deletes the oldest files until it gets below this limit. More information is available in the Deleted Files documentation.\n\n",
            "licence": "AGPL",
            "author": "Bjoern Schiessle",
            "default_enable": "",
            "version": "0.9.1",
            "types": [
                "filesystem"
            ],
            "use-migrations": "true",
            "namespace": "Files_Trashbin",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0.2.4",
                        "max-version": "10"
                    }
                }
            },
            "documentation": {
                "user": "https:\/\/doc.owncloud.org\/server\/10.2\/go.php?to=user-trashbin"
            },
            "background-jobs": {
                "job": "OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash"
            },
            "commands": [
                "OCA\\Files_Trashbin\\Command\\CleanUp",
                "OCA\\Files_Trashbin\\Command\\ExpireTrash"
            ],
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "_cached": true,
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/files_trashbin\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.9.1",
                "types": "filesystem",
                "enabled": "yes"
            }
        },
        {
            "id": "user_external",
            "name": "External user support",
            "description": "Use external user authentication methods like IMAP, SMB and FTP",
            "licence": "AGPL",
            "author": "Robin Appelman",
            "documentation": {
                "admin": "https:\/\/doc.owncloud.org\/server\/9.0\/admin_manual\/configuration_user\/user_auth_ftp_smb_imap.html"
            },
            "website": "https:\/\/github.com\/owncloud\/apps\/tree\/master\/user_external",
            "bugs": "https:\/\/github.com\/owncloud\/apps\/issues",
            "repository": {
                "@attributes": {
                    "type": "git"
                },
                "@value": "https:\/\/github.com\/owncloud\/apps.git"
            },
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10",
                        "max-version": "10"
                    }
                }
            },
            "version": "0.5.0",
            "shipped": "true",
            "types": [
                "authentication",
                "prelogin"
            ],
            "ocsid": "166060",
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "_cached": true,
            "groups": null,
            "active": false,
            "level": 100,
            "removable": true,
            "internal": false,
            "preview": "\/apps\/user_external\/img\/app.svg",
            "previewAsIcon": true
        },
        {
            "id": "files_versions",
            "name": "Versions",
            "licence": "AGPL",
            "author": "Frank Karlitschek, Bjoern Schiessle",
            "description": "This application enables ownCloud to automatically maintain older versions of files that are changed. When enabled, a hidden versions folder is provisioned in every user\u2019s directory and is used to store old file versions. A user can revert to an older version through the web interface at any time, with the replaced file becoming a version. ownCloud then automatically manages the versions folder to ensure the user doesn\u2019t run out of Quota because of versions. In addition to the expiry of versions, ownCloud\u2019s versions app makes certain never to use more than 50% of the user\u2019s currently available free space. If stored versions exceed this limit, ownCloud will delete the oldest versions first until it meets this limit. More information is available in the Versions documentation.\n\n",
            "version": "1.3.0",
            "types": [
                "filesystem"
            ],
            "namespace": "Files_Versions",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10",
                        "max-version": "10"
                    }
                }
            },
            "documentation": {
                "user": "https:\/\/doc.owncloud.org\/server\/10.2\/go.php?to=user-versions"
            },
            "default_enable": "",
            "background-jobs": {
                "job": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions"
            },
            "commands": [
                "OCA\\Files_Versions\\Command\\CleanUp",
                "OCA\\Files_Versions\\Command\\ExpireVersions"
            ],
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "_cached": true,
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/files_versions\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "1.3.0",
                "types": "filesystem",
                "enabled": "yes"
            }
        },
        {
            "id": "files_sharing",
            "name": "Share Files",
            "description": "This application enables users to share files within ownCloud. If enabled, the admin can choose which groups can share files. The applicable users can then share files and folders with other users and groups within ownCloud. In addition, if the admin enables the share link feature, an external link can be used to share files with other users outside of ownCloud. Admins can also enforce passwords, expirations dates, and enable server to server sharing via share links, as well as sharing from mobile devices. Turning the feature off removes shared files and folders on the server for all share recipients, and also on the sync clients and mobile apps. More information is available in the ownCloud Documentation.\n\n",
            "licence": "AGPL",
            "author": "Michael Gapczynski, Bjoern Schiessle",
            "default_enable": "",
            "version": "0.11.0",
            "types": [
                "filesystem"
            ],
            "use-migrations": "true",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0.2.4",
                        "max-version": "10"
                    }
                }
            },
            "public": {
                "files": "public.php"
            },
            "namespace": "Files_Sharing",
            "settings-sections": {
                "personal": "OCA\\Files_Sharing\\Panels\\Personal\\Section"
            },
            "settings": {
                "admin": "OCA\\Files_Sharing\\Panels\\Admin\\SettingsPanel",
                "personal": "OCA\\Files_Sharing\\Panels\\Personal\\PersonalPanel"
            },
            "background-jobs": [
                "OCA\\Files_Sharing\\DeleteOrphanedSharesJob",
                "OCA\\Files_Sharing\\ExpireSharesJob"
            ],
            "commands": {
                "command": "OCA\\Files_Sharing\\Command\\CleanupRemoteStorages"
            },
            "info": [],
            "remote": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "_cached": true,
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/files_sharing\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.11.0",
                "types": "filesystem",
                "enabled": "yes"
            }
        },
        {
            "id": "notifications",
            "name": "Notifications",
            "summary": "Notification system for internal events",
            "description": "This application adds an internal notification system to an ownCloud instance. Notifications are triggered by apps like the Announcement Center or Custom Groups and displayed via a bell indicator in the WebUI as well as via the ownCloud clients.",
            "category": "tools",
            "screenshot": "https:\/\/raw.githubusercontent.com\/owncloud\/promo\/e1dd604d66b4c5f765579b4c160de3268169ea3c\/ownCloud%20logo%20square.png",
            "licence": "AGPL",
            "author": "Joas Schilling, Thomas M\u00fcller",
            "version": "0.5.0",
            "types": [
                "logging"
            ],
            "default_enable": "",
            "website": "https:\/\/github.com\/owncloud\/notifications",
            "bugs": "https:\/\/github.com\/owncloud\/notifications\/issues",
            "repository": {
                "@attributes": {
                    "type": "git"
                },
                "@value": "https:\/\/github.com\/owncloud\/notifications.git"
            },
            "commands": {
                "command": "OCA\\Notifications\\Command\\Generate"
            },
            "settings": {
                "personal": "OCA\\Notifications\\Panels\\Personal\\NotificationsPanel"
            },
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.2",
                        "max-version": "11"
                    }
                }
            },
            "use-migrations": "true",
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "_cached": true,
            "groups": null,
            "active": true,
            "level": 100,
            "removable": true,
            "internal": false,
            "preview": "\/apps\/notifications\/img\/notifications.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.5.0",
                "types": "logging",
                "enabled": "yes"
            }
        },
        {
            "id": "market",
            "name": "Market",
            "summary": "Integrate the ownCloud marketplace into your ownCloud",
            "description": "Easily manage ownCloud apps from within your ownCloud web interface. It connects your ownCloud with your marketplace account and lets you browse, install and update any apps from inside your ownCloud instance.\n\nPlease note: Since ownCloud X (10.0) every instance gets shipped with this app included. You do not need to install it separately. To use this application click on \"Files\" in the top left corner and click on \"Market\" (cart icon) (Administrator privileges required)",
            "licence": "AGPL",
            "author": "Thomas M\u00fcller, Felix Heidecke, Thomas B\u00f6rger, Philipp Schaffrath, Viktar Dubiniuk",
            "version": "0.5.0",
            "default_enable": "",
            "category": "tools",
            "screenshot": "https:\/\/raw.githubusercontent.com\/owncloud\/screenshots\/master\/market\/ownCloud-market-app.jpg",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.2",
                        "max-version": "10"
                    }
                }
            },
            "background-jobs": {
                "job": "OCA\\Market\\CheckUpdateBackgroundJob"
            },
            "commands": [
                "OCA\\Market\\Command\\InstallApp",
                "OCA\\Market\\Command\\UnInstallApp",
                "OCA\\Market\\Command\\ListApps",
                "OCA\\Market\\Command\\UpgradeApp"
            ],
            "navigation": {
                "@attributes": {
                    "role": "admin"
                },
                "route": "market.page.index",
                "order": "100"
            },
            "info": [],
            "remote": [],
            "public": [],
            "types": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "_cached": true,
            "groups": null,
            "active": true,
            "level": 100,
            "removable": true,
            "internal": false,
            "preview": "\/apps\/market\/img\/market.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.5.0",
                "types": "",
                "enabled": "yes",
                "key": null
            }
        },
        {
            "id": "firstrunwizard",
            "name": "First run wizard",
            "description": "This application enables a pop-up window when a user first logs into ownCloud. This window welcomes new users to ownCloud, and contains links to the standard ownCloud desktop client, Android app, and the iOS app. The window also shows a link for accessing ownCloud via WebDAV. At any time, the first run wizard button can be opened again via the link on the personal page. The First run wizard can be customized to meet specific design goals, or to change links and messages. Create an appropriate theme following the Theming documentation, and changes to the look and feel of this Wizard are simple. More information is available in the First run wizard documentation, as well as the theming documentation.",
            "licence": "AGPL",
            "author": "Frank Karlitschek, Jan-Christoph Borchardt, Tom Needham",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.2",
                        "max-version": "11"
                    }
                }
            },
            "version": "1.2.0",
            "namespace": "FirstRunWizard",
            "default_enable": "",
            "commands": {
                "command": "OCA\\FirstRunWizard\\Command\\ResetAll"
            },
            "info": [],
            "remote": [],
            "public": [],
            "types": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "_cached": true,
            "groups": null,
            "active": true,
            "level": 100,
            "removable": true,
            "internal": false,
            "preview": "\/apps\/firstrunwizard\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "1.2.0",
                "types": "",
                "enabled": "yes"
            }
        },
        {
            "id": "comments",
            "name": "Comments",
            "description": "Files app plugin to add comments to files",
            "licence": "AGPL",
            "author": "Arthur Schiwon, Vincent Petry",
            "default_enable": "",
            "version": "0.3.0",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10",
                        "max-version": "10"
                    }
                }
            },
            "types": [
                "logging",
                "dav"
            ],
            "sabre": {
                "plugins": {
                    "plugin": "OCA\\Comments\\Dav\\CommentsPlugin"
                },
                "collections": {
                    "collection": "OCA\\Comments\\Dav\\RootCollection"
                }
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "_cached": true,
            "groups": null,
            "active": true,
            "level": 100,
            "removable": true,
            "internal": false,
            "appconfig": {
                "installed_version": "0.3.0",
                "types": "logging,dav",
                "enabled": "yes"
            }
        },
        {
            "id": "systemtags",
            "name": "Collaborative tags",
            "description": "Collaborative tagging functionality which shares tags among users. Great for teams. (If you are a provider with a multi-tenancy installation, it is advised to deactivate this app as tags are shared.)",
            "licence": "AGPL",
            "author": "Vincent Petry",
            "default_enable": "",
            "version": "0.3.0",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10",
                        "max-version": "10"
                    }
                }
            },
            "namespace": "SystemTags",
            "types": [
                "logging"
            ],
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "_cached": true,
            "groups": null,
            "active": true,
            "level": 100,
            "removable": true,
            "internal": false,
            "appconfig": {
                "installed_version": "0.3.0",
                "types": "logging",
                "enabled": "yes"
            }
        },
        {
            "id": "provisioning_api",
            "name": "Provisioning API",
            "description": "This application enables a set of APIs that external systems can use to create, edit, delete and query user attributes, query, set and remove groups, set quota and query total storage used in ownCloud. Group admin users can also query ownCloud and perform the same functions as an admin for groups they manage. The API also enables an admin to query for active ownCloud applications, application info, and to enable or disable an app remotely. Once the app is enabled, http requests can be used via a Basic Auth header to perform any of the functions listed above. More information is available in the Provisioning API documentation, including example calls and server responses.",
            "licence": "AGPL",
            "author": "Tom Needham",
            "default_enable": "",
            "documentation": {
                "admin": "https:\/\/doc.owncloud.org\/server\/10.2\/go.php?to=admin-provisioning-api"
            },
            "version": "0.5.0",
            "namespace": "Provisioning_API",
            "types": [
                "prevent_group_restriction"
            ],
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10",
                        "max-version": "10"
                    }
                }
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "_cached": true,
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/provisioning_api\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.5.0",
                "types": "prevent_group_restriction",
                "enabled": "yes"
            }
        },
        {
            "id": "files_videoplayer",
            "name": "Video player",

So are you saying to change it back to 700 or to comment it back out along with the other?

Hey,

if you change it back to 700 then i think only the redis user will be able to access the socket. Maybe you can find some redis documentation for Ubuntu on how to give other linux users (like www-data which should be running ownCloud normally) access to the redis socket?

1 Like

Hi,
It seems like the config report is clipped after files_videoplayer. I’m specifically looking for the “phpinfo” section, if you could just paste that section, that would be much appreciated.
Cheers

Hope this it what we need

Hope this is it

phpinfo": {
        "apache2handler": {
            "Apache Version": "Apache\/2.4.29 (Ubuntu)",
            "Apache API Version": "20120211",
            "Server Administrator": "webmaster@localhost",
            "Hostname:Port": "REMOVED:0",
            "User\/Group": "www-data(33)\/33",
            "Max Requests": "Per Child: 0 - Keep Alive: on - Max Per Connection: 100",
            "Timeouts": "Connection: 300 - Keep-Alive: 5",
            "Virtual Server": "Yes",
            "Server Root": "\/etc\/apache2",
            "Loaded Modules": "core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_headers mod_mime prefork mod_negotiation mod_php7 mod_reqtimeout mod_rewrite mod_setenvif mod_socache_shmcb mod_ssl mod_status",
            "engine": "1",
            "last_modified": "0",
            "xbithack": "0"
        },
        "Apache Environment": {
            "HTTP_AUTHORIZATION": "no value",
            "HOME": "\/var\/www\/owncloud",
            "HTTP_HOME": "\/var\/www\/owncloud",
            "modHeadersAvailable": "true",
            "htaccessWorking": "true",
            "HTTPS": "on",
            "SSL_TLS_SNI": "REMOVED",
            "HTTP_HOST": "REMOVED",
            "HTTP_CONNECTION": "keep-alive",
            "HTTP_UPGRADE_INSECURE_REQUESTS": "1",
            "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/76.0.3809.100 Safari\/537.36",
            "HTTP_SEC_FETCH_MODE": "navigate",
            "HTTP_SEC_FETCH_USER": "?1",
            "HTTP_ACCEPT": "text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3",
            "HTTP_SEC_FETCH_SITE": "same-origin",
            "HTTP_ACCEPT_ENCODING": "gzip, deflate, br",
            "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9",
            "SERVER_SIGNATURE": "&lt;address&gt;Apache\/2.4.29 (Ubuntu) Server at REMOVED Port 443&lt;\/address&gt;",
            "SERVER_SOFTWARE": "Apache\/2.4.29 (Ubuntu)",
            "SERVER_NAME": "REMOVED",
            "SERVER_ADDR": "REMOVED",
            "SERVER_PORT": "443",
            "REMOTE_ADDR": "REMOVED",
            "DOCUMENT_ROOT": "\/var\/www\/html",
            "REQUEST_SCHEME": "https",
            "CONTEXT_PREFIX": "\/",
            "CONTEXT_DOCUMENT_ROOT": "\/var\/www\/owncloud\/",
            "SERVER_ADMIN": "webmaster@localhost",
            "SCRIPT_FILENAME": "\/var\/www\/owncloud\/index.php",
            "REMOTE_PORT": "12386",
            "GATEWAY_INTERFACE": "CGI\/1.1",
            "SERVER_PROTOCOL": "HTTP\/1.1",
            "REQUEST_METHOD": "GET",
            "QUERY_STRING": "no value",
            "REQUEST_URI": "\/index.php\/apps\/configreport\/report",
            "SCRIPT_NAME": "\/index.php",
            "PATH_INFO": "\/apps\/configreport\/report",
            "PATH_TRANSLATED": "\/var\/www\/owncloud\/apps\/configreport\/report"
        },
        "HTTP Headers Information": {
            "HTTP Request": "GET \/index.php\/apps\/configreport\/report HTTP\/1.1",
            "Host": "REMOVED",
            "Connection": "keep-alive",
            "Upgrade-Insecure-Requests": "1",
            "User-Agent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/76.0.3809.100 Safari\/537.36",
            "Sec-Fetch-Mode": "navigate",
            "Sec-Fetch-User": "?1",
            "Accept": "text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3",
            "Sec-Fetch-Site": "same-origin",
            "Accept-Encoding": "gzip, deflate, br",
            "Accept-Language": "en-US,en;q=0.9",
            "Expires": "Thu, 19 Nov 1981 08:52:00 GMT",
            "Cache-Control": "no-store, no-cache, must-revalidate",
            "Pragma": "no-cache",
            "Content-Security-Policy": "default-src self ; script-src self unsafe-eval ; style-src self unsafe-inline ; frame-src *; img-src * data: blob:; font-src self data:; media-src *; connect-src *"
        },
        "apc": {
            "APC Compatibility": "1.0.3",
            "APCu Version": "5.1.9",
            "Build Date": "Feb 3 2018 04:52:55"
        },
        "apcu": {
            "APCu Support": "Enabled",
            "Version": "5.1.9",
            "APCu Debugging": "Disabled",
            "MMAP Support": "Enabled",
            "MMAP File Mask": "no value",
            "Serialization Support": "php, igbinary",
            "Build Date": "Feb 2 2018 03:51:25",
            "apc.coredump_unmap": "Off",
            "apc.enable_cli": "Off",
            "apc.enabled": "On",
            "apc.entries_hint": "4096",
            "apc.gc_ttl": "3600",
            "apc.mmap_file_mask": "no value",
            "apc.preload_path": "no value",
            "apc.serializer": "php",
            "apc.shm_segments": "1",
            "apc.shm_size": "32M",
            "apc.slam_defense": "On",
            "apc.smart": "0",
            "apc.ttl": "0",
            "apc.use_request_time": "On",
            "apc.writable": "\/tmp"
        },
        "calendar": {
            "Calendar support": "enabled"
        },
        "Core": {
            "PHP Version": "7.2.19-0ubuntu0.18.04.2",
            "allow_url_fopen": "On",
            "allow_url_include": "Off",
            "arg_separator.input": "&amp;",
            "arg_separator.output": "&amp;",
            "auto_append_file": "no value",
            "auto_globals_jit": "On",
            "auto_prepend_file": "no value",
            "browscap": "no value",
            "default_charset": "UTF-8",
            "default_mimetype": "text\/html",
            "disable_classes": "no value",
            "disable_functions": "pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,",
            "display_errors": "Off",
            "display_startup_errors": "Off",
            "doc_root": "no value",
            "docref_ext": "no value",
            "docref_root": "no value",
            "enable_dl": "Off",
            "enable_post_data_reading": "On",
            "error_append_string": "no value",
            "error_log": "no value",
            "error_prepend_string": "no value",
            "error_reporting": [
                "32767",
                "22527"
            ],
            "expose_php": "Off",
            "extension_dir": "\/usr\/lib\/php\/20170718",
            "file_uploads": "On",
            "hard_timeout": "2",
            "highlight.comment": "#FF8000",
            "highlight.default": "#0000BB",
            "highlight.html": "#000000",
            "highlight.keyword": "#007700",
            "highlight.string": "#DD0000",
            "html_errors": "On",
            "ignore_repeated_errors": "Off",
            "ignore_repeated_source": "Off",
            "ignore_user_abort": "Off",
            "implicit_flush": "Off",
            "input_encoding": "no value",
            "internal_encoding": "no value",
            "log_errors": "On",
            "log_errors_max_len": "1024",
            "mail.add_x_header": "Off",
            "mail.force_extra_parameters": "no value",
            "mail.log": "no value",
            "max_execution_time": [
                "3600",
                "30"
            ],
            "max_file_uploads": "20",
            "max_input_nesting_level": "64",
            "max_input_time": "60",
            "max_input_vars": "1000",
            "memory_limit": [
                "512M",
                "128M"
            ],
            "open_basedir": "no value",
            "output_buffering": [
                "0",
                "4096"
            ],
            "output_encoding": "no value",
            "output_handler": "no value",
            "post_max_size": [
                "513M",
                "8M"
            ],
            "precision": "14",
            "realpath_cache_size": "4096K",
            "realpath_cache_ttl": "120",
            "register_argc_argv": "Off",
            "report_memleaks": "On",
            "report_zend_debug": "On",
            "request_order": "GP",
            "sendmail_from": "no value",
            "sendmail_path": "\/usr\/sbin\/sendmail -t -i ",
            "serialize_precision": "-1",
            "short_open_tag": "Off",
            "SMTP": "localhost",
            "smtp_port": "25",
            "sys_temp_dir": "no value",
            "track_errors": "Off",
            "unserialize_callback_func": "no value",
            "upload_max_filesize": [
                "513M",
                "2M"
            ],
            "upload_tmp_dir": "no value",
            "user_dir": "no value",
            "user_ini.cache_ttl": "300",
            "user_ini.filename": ".user.ini",
            "variables_order": "GPCS",
            "xmlrpc_error_number": "0",
            "xmlrpc_errors": "Off",
            "zend.assertions": "-1",
            "zend.detect_unicode": "On",
            "zend.enable_gc": "On",
            "zend.multibyte": "Off",
            "zend.script_encoding": "no value",
            "zend.signal_check": "Off"
        },
        "ctype": {
            "ctype functions": "enabled"
        },
        "curl": {
            "cURL support": "enabled",
            "cURL Information": "7.58.0",
            "Age": "4",
            "Features": null,
            "AsynchDNS": "Yes",
            "CharConv": "No",
            "Debug": "No",
            "GSS-Negotiate": "No",
            "IDN": "Yes",
            "IPv6": "Yes",
            "krb4": "No",
            "Largefile": "Yes",
            "libz": "Yes",
            "NTLM": "Yes",
            "NTLMWB": "Yes",
            "SPNEGO": "Yes",
            "SSL": "Yes",
            "SSPI": "No",
            "TLS-SRP": "Yes",
            "HTTP2": "Yes",
            "GSSAPI": "Yes",
            "KERBEROS5": "Yes",
            "UNIX_SOCKETS": "Yes",
            "PSL": "Yes",
            "Protocols": "dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, smb, smbs, smtp, smtps, telnet, tftp",
            "Host": "x86_64-pc-linux-gnu",
            "SSL Version": "OpenSSL\/1.1.1",
            "ZLib Version": "1.2.11"
        },
        "date": {
            "date\/time support": "enabled",
            "timelib version": "2017.09",
            "&quot;Olson&quot; Timezone Database Version": "0.system",
            "Timezone Database": "internal",
            "Default timezone": "UTC",
            "date.default_latitude": "31.7667",
            "date.default_longitude": "35.2333",
            "date.sunrise_zenith": "90.583333",
            "date.sunset_zenith": "90.583333",
            "date.timezone": "no value"
        },
        "dom": {
            "DOM\/XML": "enabled",
            "DOM\/XML API Version": "20031129",
            "libxml Version": "2.9.4",
            "HTML Support": "enabled",
            "XPath Support": "enabled",
            "XPointer Support": "enabled",
            "Schema Support": "enabled",
            "RelaxNG Support": "enabled"
        },
        "exif": {
            "EXIF Support": "enabled",
            "EXIF Version": "7.2.19-0ubuntu0.18.04.2",
            "Supported EXIF Version": "0220",
            "Supported filetypes": "JPEG, TIFF",
            "Multibyte decoding support using mbstring": "enabled",
            "Extended EXIF tag formats": "Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson",
            "exif.decode_jis_intel": "JIS",
            "exif.decode_jis_motorola": "JIS",
            "exif.decode_unicode_intel": "UCS-2LE",
            "exif.decode_unicode_motorola": "UCS-2BE",
            "exif.encode_jis": "no value",
            "exif.encode_unicode": "ISO-8859-15"
        },
        "fileinfo": {
            "fileinfo support": "enabled",
            "version": "1.0.5",
            "libmagic": "531"
        },
        "filter": {
            "Input Validation and Filtering": "enabled",
            "Revision": "$Id: 5a34caaa246b9df197f4b43af8ac66a07464fe4b $",
            "filter.default": "unsafe_raw",
            "filter.default_flags": "no value"
        },
        "ftp": {
            "FTP support": "enabled",
            "FTPS support": "enabled"
        },
        "gd": {
            "GD Support": "enabled",
            "GD headers Version": "2.2.5",
            "GD library Version": "2.2.5",
            "FreeType Support": "enabled",
            "FreeType Linkage": "with freetype",
            "FreeType Version": "2.8.1",
            "GIF Read Support": "enabled",
            "GIF Create Support": "enabled",
            "JPEG Support": "enabled",
            "libJPEG Version": "8",
            "PNG Support": "enabled",
            "libPNG Version": "1.6.34",
            "WBMP Support": "enabled",
            "XPM Support": "enabled",
            "libXpm Version": "30411",
            "XBM Support": "enabled",
            "WebP Support": "enabled",
            "gd.jpeg_ignore_warning": "1"
        },
        "gettext": {
            "GetText Support": "enabled"
        },
        "hash": {
            "hash support": "enabled",
            "Hashing Engines": "md2 md4 md5 sha1 sha224 sha256 sha384 sha512\/224 sha512\/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5",
            "MHASH support": "Enabled",
            "MHASH API Version": "Emulated Support"
        },
        "iconv": {
            "iconv support": "enabled",
            "iconv implementation": "glibc",
            "iconv library version": "2.27",
            "iconv.input_encoding": "no value",
            "iconv.internal_encoding": "no value",
            "iconv.output_encoding": "no value"
        },
        "igbinary": {
            "igbinary support": "enabled",
            "igbinary version": "2.0.5",
            "igbinary APCU serializer ABI": "0",
            "igbinary session support": "yes",
            "igbinary.compact_strings": "On"
        },
        "imagick": {
            "imagick module version": "3.4.3RC2",
            "imagick classes": "Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel",
            "Imagick compiled with ImageMagick version": "ImageMagick 6.9.7-4 Q16 x86_64 20170114 http:\/\/www.imagemagick.org",
            "Imagick using ImageMagick library version": "ImageMagick 6.9.7-4 Q16 x86_64 20170114 http:\/\/www.imagemagick.org",
            "ImageMagick copyright": "\u00a9 1999-2017 ImageMagick Studio LLC",
            "ImageMagick release date": "20170114",
            "ImageMagick number of supported formats:": "220",
            "ImageMagick supported formats": "3FR, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GROUP4, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV",
            "imagick.locale_fix": "0",
            "imagick.progress_monitor": "0",
            "imagick.skip_version_check": "1"
        },
        "imap": {
            "IMAP c-Client Version": "2007f",
            "SSL Support": "enabled",
            "Kerberos Support": "enabled",
            "imap.enable_insecure_rsh": "Off"
        },
        "intl": {
            "version": "1.1.0",
            "ICU version": "60.2",
            "ICU Data version": "60.2",
            "ICU TZData version": "2017c",
            "ICU Unicode version": "10.0",
            "intl.default_locale": "no value",
            "intl.error_level": "0",
            "intl.use_exceptions": "0"
        },
        "json": {
            "json support": "enabled",
            "json version": "1.6.0"
        },
        "ldap": {
            "LDAP Support": "enabled",
            "RCS Version": "$Id: 3839f871a91c293a52322c63329c68db23a0290a $",
            "Total Links": "0\/unlimited",
            "API Version": "3001",
            "Vendor Name": "OpenLDAP",
            "Vendor Version": "20445",
            "SASL Support": "Enabled",
            "ldap.max_links": "Unlimited"
        },
        "libsmbclient": {
            "Version": "0.8.0"
        },
        "libxml": {
            "libXML support": "active",
            "libXML Compiled Version": "2.9.4",
            "libXML Loaded Version": "20904",
            "libXML streams": "enabled"
        },
        "mbstring": {
            "Multibyte Support": "enabled",
            "Multibyte string engine": "libmbfl",
            "HTTP input encoding translation": "disabled",
            "libmbfl version": "1.3.2",
            "oniguruma version": "6.3.0",
            "Multibyte (japanese) regex support": "enabled",
            "Multibyte regex (oniguruma) backtrack check": "On",
            "Multibyte regex (oniguruma) version": "6.3.0",
            "mbstring.detect_order": "no value",
            "mbstring.encoding_translation": "Off",
            "mbstring.func_overload": "0",
            "mbstring.http_input": "no value",
            "mbstring.http_output": "no value",
            "mbstring.http_output_conv_mimetypes": "^(text\/|application\/xhtml\\+xml)",
            "mbstring.internal_encoding": "no value",
            "mbstring.language": "neutral",
            "mbstring.strict_detection": "Off",
            "mbstring.substitute_character": "no value"
        },
        "mysqli": {
            "Client API library version": "mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $",
            "Active Persistent Links": "0",
            "Inactive Persistent Links": "0",
            "Active Links": "0",
            "mysqli.allow_local_infile": "Off",
            "mysqli.allow_persistent": "On",
            "mysqli.default_host": "no value",
            "mysqli.default_port": "3306",
            "mysqli.default_pw": "no value",
            "mysqli.default_socket": "no value",
            "mysqli.default_user": "no value",
            "mysqli.max_links": "Unlimited",
            "mysqli.max_persistent": "Unlimited",
            "mysqli.reconnect": "Off",
            "mysqli.rollback_on_cached_plink": "Off"
        },
        "mysqlnd": {
            "Version": "mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $",
            "Compression": "supported",
            "core SSL": "supported",
            "extended SSL": "supported",
            "Command buffer size": "4096",
            "Read buffer size": "32768",
            "Read timeout": "86400",
            "Collecting statistics": "Yes",
            "Collecting memory statistics": "No",
            "Tracing": "n\/a",
            "Loaded plugins": "mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password",
            "API Extensions": "mysqli,pdo_mysql",
            "bytes_sent": "0",
            "bytes_received": "0",
            "packets_sent": "0",
            "packets_received": "0",
            "protocol_overhead_in": "0",
            "protocol_overhead_out": "0",
            "bytes_received_ok_packet": "0",
            "bytes_received_eof_packet": "0",
            "bytes_received_rset_header_packet": "0",
            "bytes_received_rset_field_meta_packet": "0",
            "bytes_received_rset_row_packet": "0",
            "bytes_received_prepare_response_packet": "0",
            "bytes_received_change_user_packet": "0",
            "packets_sent_command": "0",
            "packets_received_ok": "0",
            "packets_received_eof": "0",
            "packets_received_rset_header": "0",
            "packets_received_rset_field_meta": "0",
            "packets_received_rset_row": "0",
            "packets_received_prepare_response": "0",
            "packets_received_change_user": "0",
            "result_set_queries": "0",
            "non_result_set_queries": "0",
            "no_index_used": "0",
            "bad_index_used": "0",
            "slow_queries": "0",
            "buffered_sets": "0",
            "unbuffered_sets": "0",
            "ps_buffered_sets": "0",
            "ps_unbuffered_sets": "0",
            "flushed_normal_sets": "0",
            "flushed_ps_sets": "0",
            "ps_prepared_never_executed": "0",
            "ps_prepared_once_executed": "0",
            "rows_fetched_from_server_normal": "0",
            "rows_fetched_from_server_ps": "0",
            "rows_buffered_from_client_normal": "0",
            "rows_buffered_from_client_ps": "0",
            "rows_fetched_from_client_normal_buffered": "0",
            "rows_fetched_from_client_normal_unbuffered": "0",
            "rows_fetched_from_client_ps_buffered": "0",
            "rows_fetched_from_client_ps_unbuffered": "0",
            "rows_fetched_from_client_ps_cursor": "0",
            "rows_affected_normal": "0",
            "rows_affected_ps": "0",
            "rows_skipped_normal": "0",
            "rows_skipped_ps": "0",
            "copy_on_write_saved": "0",
            "copy_on_write_performed": "0",
            "command_buffer_too_small": "0",
            "connect_success": "0",
            "connect_failure": "0",
            "connection_reused": "0",
            "reconnect": "0",
            "pconnect_success": "0",
            "active_connections": "0",
            "active_persistent_connections": "0",
            "explicit_close": "0",
            "implicit_close": "0",
            "disconnect_close": "0",
            "in_middle_of_command_close": "0",
            "explicit_free_result": "0",
            "implicit_free_result": "0",
            "explicit_stmt_close": "0",
            "implicit_stmt_close": "0",
            "mem_emalloc_count": "0",
            "mem_emalloc_amount": "0",
            "mem_ecalloc_count": "0",
            "mem_ecalloc_amount": "0",
            "mem_erealloc_count": "0",
            "mem_erealloc_amount": "0",
            "mem_efree_count": "0",
            "mem_efree_amount": "0",
            "mem_malloc_count": "0",
            "mem_malloc_amount": "0",
            "mem_calloc_count": "0",
            "mem_calloc_amount": "0",
            "mem_realloc_count": "0",
            "mem_realloc_amount": "0",
            "mem_free_count": "0",
            "mem_free_amount": "0",
            "mem_estrndup_count": "0",
            "mem_strndup_count": "0",
            "mem_estrdup_count": "0",
            "mem_strdup_count": "0",
            "mem_edupl_count": "0",
            "mem_dupl_count": "0",
            "proto_text_fetched_null": "0",
            "proto_text_fetched_bit": "0",
            "proto_text_fetched_tinyint": "0",
            "proto_text_fetched_short": "0",
            "proto_text_fetched_int24": "0",
            "proto_text_fetched_int": "0",
            "proto_text_fetched_bigint": "0",
            "proto_text_fetched_decimal": "0",
            "proto_text_fetched_float": "0",
            "proto_text_fetched_double": "0",
            "proto_text_fetched_date": "0",
            "proto_text_fetched_year": "0",
            "proto_text_fetched_time": "0",
            "proto_text_fetched_datetime": "0",
            "proto_text_fetched_timestamp": "0",
            "proto_text_fetched_string": "0",
            "proto_text_fetched_blob": "0",
            "proto_text_fetched_enum": "0",
            "proto_text_fetched_set": "0",
            "proto_text_fetched_geometry": "0",
            "proto_text_fetched_other": "0",
            "proto_binary_fetched_null": "0",
            "proto_binary_fetched_bit": "0",
            "proto_binary_fetched_tinyint": "0",
            "proto_binary_fetched_short": "0",
            "proto_binary_fetched_int24": "0",
            "proto_binary_fetched_int": "0",
            "proto_binary_fetched_bigint": "0",
            "proto_binary_fetched_decimal": "0",
            "proto_binary_fetched_float": "0",
            "proto_binary_fetched_double": "0",
            "proto_binary_fetched_date": "0",
            "proto_binary_fetched_year": "0",
            "proto_binary_fetched_time": "0",
            "proto_binary_fetched_datetime": "0",
            "proto_binary_fetched_timestamp": "0",
            "proto_binary_fetched_string": "0",
            "proto_binary_fetched_json": "0",
            "proto_binary_fetched_blob": "0",
            "proto_binary_fetched_enum": "0",
            "proto_binary_fetched_set": "0",
            "proto_binary_fetched_geometry": "0",
            "proto_binary_fetched_other": "0",
            "init_command_executed_count": "0",
            "init_command_failed_count": "0",
            "com_quit": "0",
            "com_init_db": "0",
            "com_query": "0",
            "com_field_list": "0",
            "com_create_db": "0",
            "com_drop_db": "0",
            "com_refresh": "0",
            "com_shutdown": "0",
            "com_statistics": "0",
            "com_process_info": "0",
            "com_connect": "0",
            "com_process_kill": "0",
            "com_debug": "0",
            "com_ping": "0",
            "com_time": "0",
            "com_delayed_insert": "0",
            "com_change_user": "0",
            "com_binlog_dump": "0",
            "com_table_dump": "0",
            "com_connect_out": "0",
            "com_register_slave": "0",
            "com_stmt_prepare": "0",
            "com_stmt_execute": "0",
            "com_stmt_send_long_data": "0",
            "com_stmt_close": "0",
            "com_stmt_reset": "0",
            "com_stmt_set_option": "0",
            "com_stmt_fetch": "0",
            "com_deamon": "0",
            "bytes_received_real_data_normal": "0",
            "bytes_received_real_data_ps": "0"
        },
        "openssl": {
            "OpenSSL support": "enabled",
            "OpenSSL Library Version": "OpenSSL 1.1.1 11 Sep 2018",
            "OpenSSL Header Version": "OpenSSL 1.1.0g 2 Nov 2017",
            "Openssl default config": "\/usr\/lib\/ssl\/openssl.cnf",
            "openssl.cafile": "no value",
            "openssl.capath": "no value"
        },
        "pcre": {
            "PCRE (Perl Compatible Regular Expressions) Support": "enabled",
            "PCRE Library Version": "8.39 2016-06-14",
            "PCRE JIT Support": "enabled",
            "pcre.backtrack_limit": "1000000",
            "pcre.jit": "1",
            "pcre.recursion_limit": "100000"
        },
        "PDO": {
            "PDO drivers": "mysql, pgsql, sqlite"
        },
        "pdo_mysql": {
            "Client API version": "mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $",
            "pdo_mysql.default_socket": "\/var\/run\/mysqld\/mysqld.sock"
        },
        "pdo_pgsql": {
            "PostgreSQL(libpq) Version": "10.10 (Ubuntu 10.10-0ubuntu0.18.04.1)",
            "Module version": "7.2.19-0ubuntu0.18.04.2",
            "Revision": " $Id: 9c5f356c77143981d2e905e276e439501fe0f419 $"
        },
        "pdo_sqlite": {
            "SQLite Library": "3.22.0"
        },
        "pgsql": {
            "PostgreSQL(libpq) Version": "10.10 (Ubuntu 10.10-0ubuntu0.18.04.1)",
            "PostgreSQL(libpq)": "PostgreSQL 10.10 (Ubuntu 10.10-0ubuntu0.18.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0, 64-bit",
            "Multibyte character support": "enabled",
            "SSL support": "enabled",
            "Active Persistent Links": "0",
            "Active Links": "0",
            "pgsql.allow_persistent": "On",
            "pgsql.auto_reset_persistent": "Off",
            "pgsql.ignore_notice": "Off",
            "pgsql.log_notice": "Off",
            "pgsql.max_links": "Unlimited",
            "pgsql.max_persistent": "Unlimited"
        },
        "Phar": {
            "Phar EXT version": "2.0.2",
            "Phar API version": "1.1.1",
            "SVN revision": "$Id: f1155e62742ca367e521a3e412667d8ee34eead9 $",
            "Phar-based phar archives": "enabled",
            "Tar-based phar archives": "enabled",
            "ZIP-based phar archives": "enabled",
            "gzip compression": "enabled",
            "bzip2 compression": "disabled (install pecl\/bz2)",
            "Native OpenSSL support": "enabled",
            "Phar based on pear\/PHP_Archive, original concept by Davey Shafik.Phar fully realized by Gregory Beaver and Marcus Boerger.Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.": null,
            "phar.cache_list": "no value",
            "phar.readonly": "On",
            "phar.require_hash": "On"
        },
        "posix": {
            "Revision": "$Id: 0a764bab332255746424a1e6cfbaaeebab998e4c $"
        },
        "readline": {
            "Readline library": "EditLine wrapper",
            "cli.pager": "no value",
            "cli.prompt": "\\b \\&gt; "
        },
        "redis": {
            "Redis Version": "3.1.6",
            "Available serializers": "php, igbinary"
        },
        "Reflection": {
            "Version": "$Id: 012f23982d9d94728b4da252b9f21f9de8afd4df $"
        },
        "session": {
            "Session Support": "enabled",
            "Registered save handlers": "files user redis rediscluster",
            "Registered serializer handlers": "php_serialize php php_binary igbinary wddx",
            "session.auto_start": "Off",
            "session.cache_expire": "180",
            "session.cache_limiter": "nocache",
            "session.cookie_domain": "no value",
            "session.cookie_httponly": [
                "1",
                "no value"
            ],
            "session.cookie_lifetime": "0",
            "session.cookie_path": "\/",
            "session.cookie_secure": [
                "1",
                "0"
            ],

1 Like

Ok thanks, you have the redis module enabled for Apache. So the only thing I am not sure about at all is the connection string to the redis socket as I usually use IP for that. Perhaps somebody else knows how this has to be, to be correct. In the meantime, perhaps you could test a connection via IP by binding redis to localhost and adjusting the connection string accordingly in the config.php.

Hello,

well it’s should be quite straightforward, edit /etc/redis/redis.conf

unixsocket /var/run/redis/redis.sock
unixsocketperm 775

Restart redis, and check that the socket exists.

Hey,

i’m not sure if it is recommended from a security view to give the “others” linux group (the 5 in 755) read permissions to the redis server.

I think 770 should be used instead and the www-data user should be put into the redis group as previously mentioned in Redis has gone away.. Is This Redis Config No Good Anymore? and Redis has gone away.. Is This Redis Config No Good Anymore?.

2 Likes

Hey tom42, you’re very right.

1 Like

@stratp to check whether your www-data user is in the redis group run groups www-data. It should look something like this:

root@ubuntu1804:~# groups www-data
www-data : www-data redis

If the redis group is not showing, add the user to it like so:

root@ubuntu1804:~# usermod -aG redis www-data

While redis is running (check with systemctl status redis), check the permissions of the socket like so:

root@ubuntu1804:~# ls -al  /var/run/redis/
total 4
drwxr-sr-x  2 redis redis  60 Aug 22 15:42 .
drwxr-xr-x 22 root  root  700 Aug 22 15:42 ..
-rw-rw----  1 redis redis   4 Aug 22 15:42 redis-server.pid

As you see the standard octal mode permissions are 660, which I would guess should be sufficient.

1 Like