nixos/moodle: use php80 and update extensions

authored by Finn Behrens and committed by Alyssa Ross 22a57971 bc8f0042

+5 -2
+5 -2
nixos/modules/services/web-apps/moodle.nix
··· 56 mysqlLocal = cfg.database.createLocally && cfg.database.type == "mysql"; 57 pgsqlLocal = cfg.database.createLocally && cfg.database.type == "pgsql"; 58 59 - phpExt = pkgs.php81.withExtensions 60 - ({ enabled, all }: with all; [ iconv mbstring curl openssl tokenizer xmlrpc soap ctype zip gd simplexml dom intl json sqlite3 pgsql pdo_sqlite pdo_pgsql pdo_odbc pdo_mysql pdo mysqli session zlib xmlreader fileinfo filter opcache ]); 61 in 62 { 63 # interface ··· 230 phpOptions = '' 231 zend_extension = opcache.so 232 opcache.enable = 1 233 ''; 234 settings = { 235 "listen.owner" = config.services.httpd.user;
··· 56 mysqlLocal = cfg.database.createLocally && cfg.database.type == "mysql"; 57 pgsqlLocal = cfg.database.createLocally && cfg.database.type == "pgsql"; 58 59 + phpExt = pkgs.php80.buildEnv { 60 + extensions = { all, ... }: with all; [ iconv mbstring curl openssl tokenizer soap ctype zip gd simplexml dom intl sqlite3 pgsql pdo_sqlite pdo_pgsql pdo_odbc pdo_mysql pdo mysqli session zlib xmlreader fileinfo filter opcache exif sodium ]; 61 + extraConfig = "max_input_vars = 5000"; 62 + }; 63 in 64 { 65 # interface ··· 232 phpOptions = '' 233 zend_extension = opcache.so 234 opcache.enable = 1 235 + max_input_vars = 5000 236 ''; 237 settings = { 238 "listen.owner" = config.services.httpd.user;