cp -a ${phpbb}/vars/* ${varDir}
chown -R ${apache.user}:${apache.user} ${varDir}
fi
- install -m 0750 -o ${apache.user} -g ${apache.group} -d ${varDir}/phpSessions
'';
};
+ chatonsHostingProperties = {
+ file.datetime = "2022-08-21T22:50:00";
+ hosting = {
+ name = "phpBB";
+ description = "Forum software";
+ website = "https://tools.immae.eu/forum";
+ logo = "https://www.phpbb.com/favicon.ico";
+ type = "INSTANCE";
+ status.level = "OK";
+ status.description = "OK";
+ registration.load = "OPEN";
+ install.type = "PACKAGE";
+ };
+ };
webRoot = phpbb;
apache = rec {
user = "wwwrun";
# Needed to avoid clashes in browser cookies (same domain)
"php_value[session.name]" = "PhpBBPHPSESSID";
"php_admin_value[open_basedir]" = "${basedir}:/tmp";
- "php_admin_value[session.save_path]" = "${varDir}/phpSessions";
+ "php_admin_value[session.save_handler]" = "redis";
+ "php_admin_value[session.save_path]" = "'unix:///run/redis-php-sessions/redis.sock?persistent=1&prefix=Tools:PhpBB:'";
};
};
}