Difference between revisions of "GetSoftwareVersions"

From Request Tracker Wiki
Jump to navigation Jump to search
(Add 'Configure', add code formatting.)
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
= RT =
= RT =


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


= Configure =
= Configure =

Latest revision as of 17:11, 27 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"';

or

   grep VERSION /opt/rt4/lib/RT/Generated.pm

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