we are facing internal server error if we tries uploading any files. after installing and config of redis and apcu in our centos 7 with nextcloud.
first what i found on apache log file after i restart httpd service
zend_mm_heap corrupted
then i also found error on nextcloud log
Error PHP Redis::connect(): connect() failed: No such file or directory at /var/www/html/nextcloud/lib/private/RedisFactory.php#82
The reason could be, that web server is somehow limited in having a look into the /tmp folder on certain systems. I got e.g. a problem when setting the tmp php upload folder to /var/tmp/php_upload_tmp: Missing upload-tmp or not writable
So I would really follow the default socket location:
nano /etc/redis.conf
unixsocket /var/run/redis/redis.sock
service redis-server restart
nano /var/www/html/nextcloud/config/config.php
'host' => '/var/run/redis/redis.sock',
service apache2 restart