Difference between revisions of "GetSoftwareVersions"

From Request Tracker Wiki
Jump to navigation Jump to search
m (Format 'RT' section.)
(→‎RT: add perl -I/opt/rt4/lib -MRT -e'print "$RT::VERSION\n"';)
Line 8: Line 8:


= RT =
= RT =
== RT 3 ==


     cat /opt/rt3/lib/RT.pm | grep VERSION
     cat /opt/rt3/lib/RT.pm | grep VERSION
== RT 4 ==
    perl -I/opt/rt4/lib -MRT -e'print "$RT::VERSION\n"';


= Configure =
= Configure =

Revision as of 11:21, 20 January 2019

Recent versions

In recent versions of RT, Visit the "Configuration" menu and then click on "Tools". RT has a "Running configuration" status page that lists off just about everything you need to know.

Old versions

Old versions of RT has no such functionality and you have to figure things out yourself.

RT

RT 3

   cat /opt/rt3/lib/RT.pm | grep VERSION

RT 4

   perl -I/opt/rt4/lib -MRT -e'print "$RT::VERSION\n"';

Configure

   $ ./configure -V
   RT configure rt-4.4.3-60-g816ad9b68


Perl

   perl -v

More correct method for mod_perl users is print '$]' under mod_perl evironment, for eg:

   echo "<% $] %>" >/opt/rt3/local/html/test.html

then in browser check =

See ShowPerlVersion

!DBIx::!SearchBuilder

   perl -MDBIx::SearchBuilder -e 'print $DBIx::SearchBuilder::VERSION;'

Apache

   httpd -v

mod_perl

   cat /usr/local/apache/logs/error_log | grep mod_perl | grep notice | tail -n 1

!MySQL

   mysql -V

!PostgreSQL

   postgres --version