Skip to content

OPCache not enabled #2524

@Naeaeaeaeae

Description

@Naeaeaeaeae

php -r "
if (function_exists('opcache_get_status')) {
$s = opcache_get_status(true);
echo 'OPcache: ' . ($s['opcache_enabled'] ? 'ENABLED' : 'DISABLED') . PHP_EOL;
} else {
echo 'OPcache Module NOT LOADED' . PHP_EOL;
}
"

OPcache: DISABLED

After coping the opcache-recommended.ini over to opcache-z-99.ini

php -r "
if (function_exists('opcache_get_status')) {
$s = opcache_get_status(true);
echo 'OPcache: ' . ($s['opcache_enabled'] ? 'ENABLED' : 'DISABLED') . PHP_EOL;
} else {
echo 'OPcache Module NOT LOADED' . PHP_EOL;
}
"

OPcache: ENABLED

And better performance, so something was not right.

https://apps.truenas.com/catalog/nextcloud/

php -v
PHP 8.3.30 (cli) (built: Feb 3 2026 02:35:02) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.30, Copyright (c) Zend Technologies
with Zend OPcache v8.3.30, Copyright (c), by Zend Technologies

Version
Nextcloud Hub 25 Autumn (32.0.5)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions