From f4272b467cfe098d8031cb18353ff06f915c5172 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Fri, 19 Feb 2016 16:52:48 +0100 Subject: [PATCH] Bug 15721: (followup) Add apache2ctl to C4::Context::get_versions See comment #6 Signed-off-by: Tomas Cohen Arazi Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com (cherry picked from commit 019634fc5b010324de8adde38f49239a816a519c) Signed-off-by: Julian Maurice --- C4/Context.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Context.pm b/C4/Context.pm index e314f5a01b..1a930b9b0e 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -1104,6 +1104,7 @@ sub get_versions { $versions{mysqlVersion} = `mysql -V`; $versions{apacheVersion} = `httpd -v`; $versions{apacheVersion} = `httpd2 -v` unless $versions{apacheVersion} ; + $versions{apacheVersion} = (`apache2ctl -v`)[0] unless $versions{apacheVersion} ; $versions{apacheVersion} = `apache2 -v` unless $versions{apacheVersion} ; $versions{apacheVersion} = `/usr/sbin/apache2 -v` unless $versions{apacheVersion} ; } -- 2.39.5