I would like to properly configure OPcache to eliminate. I have made the updates and changes as specified but the warning below persists.
What can be done to fix this?
Thanks!
- The PHP OPcache module is not properly configured. See the documentation
for more information.
- 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 than8
. - The PHP modules “gmp” and/or “bcmath” are not enabled. If you use WebAuthn passwordless authentication, these modules are required.
Reverse Proxy Server
Nextcloud version: 25.0.0.1
Operating system and version : Ubuntu 22.04.1 LTS
Apache: Apache/2.4.52 (Ubuntu)
PHP version: PHP 8.1.13(cli)
Apache Backend Sever
Operating system and version : Ubuntu 22.04.1 LTS
Apache: Apache/2.4.52 (Ubuntu)
PHP version: PHP 8.1.13(cli)
The issue you are facing:
PHP Opcache not properly configured
Is this the first time you’ve seen this error? : NO,
Steps to replicate it:
I have complete access to servers
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xxxxxxxxxxxxx',
'passwordsalt' => 'xxxxxxxxxxx,
'secret' => 'xxxxxxxxxxxxxxxx,
'trusted_domains' =>
array (
0 => 'nextcloud.allenintech.com',
1 => 'www.nextcloud.allenintech.com',
),
'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '10.0.0.1',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'dbtype' => 'mysql',
'version' => '25.0.1.1',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxxxxx',
'dbpassword' => 'xxxxxx',
'logtimezone' => 'UTC',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcached_servers' =>
array (
0 =>
array (
0 => 'localhost',
1 => 11211,
),
1 =>
array (
0 => 'nextcloud.allenintech.com',
1 => 11211,
),
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'overwriteprotocol' => 'https',
'overwrite.cli.url' => 'https://nextcloud.allenintech.com',
'overwritehost' => 'nextcloud.allenintech.com',
'default_phone_region' => 'US',
'mail_smtpmode' => 'sendmail',
'mail_from_address' => 'eatobiasa',
'mail_domain' => 'gmail.com',
'mail_smtphost' => 'smtp.gmail.com',
'mail_smtpport' => '465',
'mail_smtptimeout' => 60,
'updater.release.channel' => 'stable',
'mail_sendmailmode' => 'smtp',
'mysql.utf8mb4' => true,
'mail_smtpauth' => 1,
'mail_smtpname' => 'eatobiasa@gmail.com',
'mail_smtppassword' => 'xxxxxxxxxx',
'mail_smtpsecure' => 'ssl',
'mail_smtpauthtype' => 'PLAIN',
'app_install_overwrite' =>
array (
0 => 'drawio',
),
);