|
|
@@ -29,7 +29,7 @@ class NextcloudSetup extends BaseSetup {
|
|
|
"template" => "owncloud",
|
|
|
],
|
|
|
"php" => [
|
|
|
- "supported" => ["7.4", "8.0", "8.1"],
|
|
|
+ "supported" => ["8.0", "8.1", "8.2"],
|
|
|
],
|
|
|
],
|
|
|
];
|
|
|
@@ -69,6 +69,17 @@ class NextcloudSetup extends BaseSetup {
|
|
|
],
|
|
|
$status,
|
|
|
);
|
|
|
+
|
|
|
+ // Bump minimum memory limit to 512M
|
|
|
+ $result = null;
|
|
|
+ $file = $this->getDocRoot(".user.ini");
|
|
|
+ $this->appcontext->runUser("v-open-fs-file", [$file], $result);
|
|
|
+ array_push($result->raw, "memory_limit=512M");
|
|
|
+ $tmp = $this->saveTempFile(implode("\r\n", $result->raw));
|
|
|
+ if (!$this->appcontext->runUser("v-move-fs-file", [$tmp, $file], $result)) {
|
|
|
+ throw new \Exception("Error updating file in: " . $tmp . " " . $result->text);
|
|
|
+ }
|
|
|
+
|
|
|
return $status->code === 0;
|
|
|
}
|
|
|
}
|