diff options
-rw-r--r-- | virtual/eldiron.nix | 2 | ||||
-rw-r--r-- | virtual/packages/nextcloud.nix | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/virtual/eldiron.nix b/virtual/eldiron.nix index 280b69a..51e2bb9 100644 --- a/virtual/eldiron.nix +++ b/virtual/eldiron.nix | |||
@@ -155,6 +155,8 @@ | |||
155 | extension=${pkgs.phpPackages.redis}/lib/php/extensions/redis.so | 155 | extension=${pkgs.phpPackages.redis}/lib/php/extensions/redis.so |
156 | ; For nextcloud | 156 | ; For nextcloud |
157 | extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so | 157 | extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so |
158 | ; For nextcloud | ||
159 | zend_extension=${pkgs.php}/lib/php/extensions/opcache.so | ||
158 | ''; | 160 | ''; |
159 | extraConfig = '' | 161 | extraConfig = '' |
160 | log_level = notice | 162 | log_level = notice |
diff --git a/virtual/packages/nextcloud.nix b/virtual/packages/nextcloud.nix index d332a10..e39868a 100644 --- a/virtual/packages/nextcloud.nix +++ b/virtual/packages/nextcloud.nix | |||
@@ -243,7 +243,7 @@ let | |||
243 | php_admin_value[output_buffering] = 0 | 243 | php_admin_value[output_buffering] = 0 |
244 | php_admin_value[max_execution_time] = 1800 | 244 | php_admin_value[max_execution_time] = 1800 |
245 | php_admin_value[zend_extension] = "opcache" | 245 | php_admin_value[zend_extension] = "opcache" |
246 | ;php_value[opcache.enable] = 1 | 246 | php_value[opcache.enable] = 1 |
247 | php_value[opcache.enable_cli] = 1 | 247 | php_value[opcache.enable_cli] = 1 |
248 | php_value[opcache.interned_strings_buffer] = 8 | 248 | php_value[opcache.interned_strings_buffer] = 8 |
249 | php_value[opcache.max_accelerated_files] = 10000 | 249 | php_value[opcache.max_accelerated_files] = 10000 |