I got these error
Zend OPcache can’t be temporary enabled (it may be only disabled till the end of request) at Unknown#0
instead of my final configurations
opcache.enable=1
opcache.enable_cli=1
opcache.save_comments=1
opcache.revalidate_freq=1
opcache.validate_timestamps=0
opcache.interned_strings_buffer=128
opcache.max_accelerated_files=10000
opcache.memory_consumption=512
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'cloud.mycloud.com',
),
'datadirectory' => '/home/users/files/cloud.mycloud.com',
'dbtype' => 'mysql',
'version' => '24.0.1.1',
'overwrite.cli.url' => 'https://cloud.mycloud.com',
'dbname' => '',
'dbhost' => '',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\OC\Memcache\Redis',
'redis' => [
'host' => '127.0.0.1',
'port' => 6379,
],
'log_type' => 'file',
'logfile' => '/home/users/files/cloud.mycloud.com/nextcloud.log',
'loglevel' => '3',
'logdateformat' => 'F d, Y H:i:s',
'lost_password_link' => 'disabled',
'default_phone_region' => '',
'defaultapp' => 'files',
'maintenance' => false,
'mail_from_address' => 'sender',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => '',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => '',
'mail_smtpsecure' => 'tls',
'mail_smtpport' => '587',
'mail_smtpname' => '',
'mail_smtppassword' => '',
);
I don’t know why it doesn’t work right now.
Sensitive data are blanked out.