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

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
dshesnicky [ Do, 24 Januar 2008 13:48 ] [ ID #1915598 ]

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

On 24 Jan, 12:48, dshesni... [at] 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.
colin.mckinnon [ Do, 24 Januar 2008 14:25 ] [ ID #1915603 ]

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

On Thu, 24 Jan 2008 13:48:29 +0100, <dshesnicky [at] 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?

PHP version: php -v
PHP extensions: php --ri <extensionname>

Syncing up versions, allthough it could be a pain in the beginning, would
be a far preferable solution though.
--
Rik Wasmus
luiheidsgoeroe [ Do, 24 Januar 2008 21:43 ] [ ID #1915636 ]
PHP » comp.lang.php » how to get all the version numbers - apache, mysql, php, modules etc.

Vorheriges Thema: IP Spoofing
Nächstes Thema: MySQL database design