diff modules/website/manifests/php.pp @ 444:83fbddb56de1

Increase PHP limits Required to install/upgrade NextCloud on the test VPS. Servers are bigger now, so it should be okay
author IBBoard <dev@ibboard.co.uk>
date Mon, 08 May 2023 13:41:26 +0100
parents 6293839019d0
children d0e7979c7e8c
line wrap: on
line diff
--- a/modules/website/manifests/php.pp	Mon May 08 11:48:41 2023 +0100
+++ b/modules/website/manifests/php.pp	Mon May 08 13:41:26 2023 +0100
@@ -43,8 +43,8 @@
       'PHP/default_charset' => 'UTF-8',
       'PHP/pcre.jit' => $pcre_jit,
       # Space isn't scarce these days - increase default sizes
-      'PHP/upload_max_filesize' => "8M",
-      'PHP/post_max_size' => "8M",
+      'PHP/upload_max_filesize' => "16M",
+      'PHP/post_max_size' => "16M",
       'Data/date.timezone' => 'UTC',
     },
     cli_settings => {
@@ -64,6 +64,7 @@
         ini_prefix => '20-',
       },
       opcache => {
+        ensure => present,
         ini_prefix => '10-',
         zend => true,
         settings => {