No memory cache has been configured error

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 23.0.3
Operating system and version (eg, Ubuntu 20.04): replace me
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): 7.3

The issue you are facing:
'No memory cache has been configured '- I cannot resolve this error.
I have installed Nextcloud through Softaculous on shared hosting with cpanel.

Is this the first time you’ve seen this error? (Y/N): Y

In PHP Selector -PHP Extensions 7.3(current) I have Agpu ticked on.

Config.php : I have added the following line

‘memcache.local’ => ‘\OC\Memcache\APCu’,

php.ini : I have added the following

allow_url_fopen = Off
allow_url_include = Off
enable_dl = Off
file_uploads = On

What am I missing here?

‘trusted_domains’ =>
array (
0 => ‘’,
‘datadirectory’ => ‘/home/barkingb/nextclouddata23’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘’,
‘overwrite.cli.url’ => ‘’,
‘dbname’ => ‘barkingb_next680’,
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘barkingb_next680’,
‘dbpassword’ => ‘’,
‘installed’ => true,
‘mysql.utf8mb4’ => true,
‘maintenance’ => false,
‘memcache.local’ => ‘\OC\Memcache\APCu’,

[Nextcloud Hub II (23.0.3)

Upon resfresh I am also now getting:

The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply opcache.interned_strings_buffer to your PHP configuration with a value higher than 8

Hi @anarcho-taoist,
You are missing the rest of the required support template. Please fill this form out and edit into your post.

This will give us the technical info and logs needed to better help you! Thanks.

I added the config.php but I really do not know how to get the other info!
The output of your Nextcloud log in Admin > Logging: - which one???

[index] Error: Undefined constant ‘STDIN’ in file ‘/home/user/’ line 108

POST /index.php/apps/occweb/cmd
from by taoist at 2022-04-22T04:59:31+00:00

The output of your Apache/nginx/system log in /var/log/____: ???

Output errors in nextcloud.log in /var/www/
``` I cannot see a www file in var! ??

Error log

[19-Apr-2022 11:45:52 UTC] PHP Fatal error: Uncaught Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1203] User user already has more than ‘max_user_connections’ active connections in /home/user/

Thanks! Sorry for my noob inexperience and lack of knowledge.

Which php modules do you have enabled?

You can search for the generic parts of your errors against the forum and greater internet. There are a lot of related support posts which have been answered.