how to get all the version numbers - apache, mysql, php, modules etc.

how to get all the version numbers - apache, mysql, php, modules etc.

am 24.01.2008 13:48:29 von dshesnicky

We have about 15 apache web servers where I work, most of them serving
separate functions on hosts dedicated to different groups. It doesn't
seem too easy after a couple of passes at the problem to get all of
the version information from all of the pieces. Apache and mysql are
simple with command line options but the rest are a bit more
difficult. Anyone crossed this path before?

Don

Re: how to get all the version numbers - apache, mysql, php, modules

am 24.01.2008 14:25:51 von colin.mckinnon

On 24 Jan, 12:48, dshesni...@yahoo.com wrote:
> We have about 15 apache web servers where I work, most of them serving
> separate functions on hosts dedicated to different groups. It doesn't
> seem too easy after a couple of passes at the problem to get all of
> the version information from all of the pieces. Apache and mysql are
> simple with command line options but the rest are a bit more
> difficult. Anyone crossed this path before?
>
> Don

Either use packaged solutions (rpm,pkg,apt.....) in which case the
package manager should be able to tell you, or install from suorce and
maintain proper records (better still generate your own packages from
the source).

If you're not already doing that then you've got an IT management
nightmare - the way to solve the problem is not by being devious in
interrogating what you've got but to apply one of the procedures
above.

C.

Re: how to get all the version numbers - apache, mysql, php, modules etc.

am 24.01.2008 21:43:01 von luiheidsgoeroe

On Thu, 24 Jan 2008 13:48:29 +0100, wrote:

> We have about 15 apache web servers where I work, most of them serving
> separate functions on hosts dedicated to different groups. It doesn't
> seem too easy after a couple of passes at the problem to get all of
> the version information from all of the pieces. Apache and mysql are
> simple with command line options but the rest are a bit more
> difficult. Anyone crossed this path before?

PHP version: php -v
PHP extensions: php --ri

Syncing up versions, allthough it could be a pain in the beginning, would
be a far preferable solution though.
--
Rik Wasmus