changeset 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 c6c9a2cfcfbd
children 9268fe05d0ab
files modules/website/files/php.conf modules/website/manifests/php.pp
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/files/php.conf	Mon May 08 11:48:41 2023 +0100
+++ b/modules/website/files/php.conf	Mon May 08 13:41:26 2023 +0100
@@ -4,7 +4,7 @@
 <Files ".user.ini">
 	Require all denied
 </Files>
-<Proxy "fcgi://localhost/" enablereuse=on max=50 smax=25 ttl=60>
+<Proxy "fcgi://localhost/" enablereuse=on max=50 smax=25 ttl=60 timeout=300>
 </Proxy>
 <FilesMatch "\.php$">
 	# Don't wrap in an <IfModule> because we'd rather it failed
--- 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 => {