From 8d8dd2ebaece647663da5b8aeb8ebd3706f9ef1e 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit f4272b467cfe098d8031cb18353ff06f915c5172) Signed-off-by: Frédéric Demians --- C4/Context.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Context.pm b/C4/Context.pm index 0e822949c3..1a61e216b0 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -1184,6 +1184,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