-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan Vanasco wrote:
> `httpd -v` is the correct approach.
>
> honestly, your two questions make no sense in context of one another.
> why don't you tell us what you're trying to accomplish-- in the big
> picture.
> then just call `httpd -v` from
Jonathan Vanasco wrote:
On Jun 18, 2007, at 5:05 PM, John ORourke wrote:
$version = ( $ENV{MOD_PERL_API_VERSION}==2 )?2:1;
that won't work, because that requires mod_perl to be loaded.
the original poster said:
"How do I check what version of Apache is installed from command
line (wi
On Jun 18, 2007, at 5:05 PM, John ORourke wrote:
$version = ( $ENV{MOD_PERL_API_VERSION}==2 )?2:1;
that won't work, because that requires mod_perl to be loaded.
the original poster said:
"How do I check what version of Apache is installed from command
line (without using/lodaing mod_
_spitFIRE wrote:
John ORourke wrote:
use Apache2::ServerUtil;
IMHO, doesn't this itself mean that you have Apache 2.x.x installed?
Ah, you didn't say you were detecting v1 or v2 - I thought you just
wanted to know the .x.x bit!
If you're just after a '1' or a '2' try:
$versio
On Jun 18, 2007, at 12:33 PM, _spitFIRE wrote:
When I don't know where apache is installed, how do I do this? I
was asking
for a way to write a perl script that would give me the version of
apache
installed, if possible!
then why did you specifically ask for a way to do it on the comman
John ORourke wrote:
>
>
> use Apache2::ServerUtil;
>
>
IMHO, doesn't this itself mean that you have Apache 2.x.x installed?
--
View this message in context:
http://www.nabble.com/apache-version-check-tf3940767.html#a11182947
Sent from the mod_perl - General mai
_spitFIRE wrote:
When I don't know where apache is installed, how do I do this? I was asking
for a way to write a perl script that would give me the version of apache
installed, if possible!
use Apache2::ServerUtil;
$version = Apache2::ServerUtil::get_server_version()
hth,
John
rsion info.
> good luck!
>
>
--
View this message in context:
http://www.nabble.com/apache-version-check-tf3940767.html#a11179309
Sent from the mod_perl - General mailing list archive at Nabble.com.
Try:
$ cd apache_install_dir
$ bin/httpd -v
This would show you version info.
good luck!
-Original Message-
From: _spitFIRE <[EMAIL PROTECTED]>
To: modperl@perl.apache.org
Sent: Mon, 18 Jun 2007 10:51 pm
Subject: apache version check
How do I check what version of Apa
How do I check what version of Apache is installed from command line
(without using/lodaing mod_perl)?
--
View this message in context:
http://www.nabble.com/apache-version-check-tf3940767.html#a11177225
Sent from the mod_perl - General mailing list archive at Nabble.com.
How do I check what version of Apache is installed from command line
(without using/lodaing mod_perl)?
--
View this message in context:
http://www.nabble.com/apache-version-check-tf3940766.html#a11177224
Sent from the mod_perl - General mailing list archive at Nabble.com.
11 matches
Mail list logo