added possibility to enable slowlog for fpm-users in the php-config (domain based logs), fixes #1051
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -2499,3 +2499,17 @@ if (isFroxlorVersion('0.9.31-dev4')) {
|
||||
|
||||
updateToVersion('0.9.31-dev5');
|
||||
}
|
||||
|
||||
if (isFroxlorVersion('0.9.31-dev5')) {
|
||||
|
||||
showUpdateStep("Updating from 0.9.31-dev5 to 0.9.31-dev6", true);
|
||||
lastStepStatus(0);
|
||||
|
||||
showUpdateStep("Adding new fpm-configuration options (slowlog)");
|
||||
Database::query("ALTER TABLE `".TABLE_PANEL_PHPCONFIGS."` ADD `fpm_slowlog` tinyint(1) NOT NULL default '0' AFTER `mod_fcgid_maxrequests`;");
|
||||
Database::query("ALTER TABLE `".TABLE_PANEL_PHPCONFIGS."` ADD `fpm_reqterm` varchar(15) NOT NULL default '0' AFTER `fpm_slowlog`;");
|
||||
Database::query("ALTER TABLE `".TABLE_PANEL_PHPCONFIGS."` ADD `fpm_reqslow` varchar(15) NOT NULL default '0' AFTER `fpm_reqterm`;");
|
||||
lastStepStatus(0);
|
||||
|
||||
updateToVersion('0.9.31-dev6');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user