Which version of Apache am I running?

Simon Ruderich simon at ruderich.com
Tue Jul 31 13:03:56 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Elise van Looij wrote:
> 
> echo $PATH returned:
> 
> /opt/local/lib/mysql5/bin/mysql
> /opt/local/bin/mysql5
> /usr/local/mysql/bin
> /opt/local/bin
> /opt/local/sbin
> /opt/local/lib/mysql5/bin
> /usr/local/bin
> /bin
> /sbin
> /usr/bin
> /usr/sbin
> /opt/local/bin
> /opt/local/lib/mysql5/bin/mysqladmin
> /opt/local/lib/mysql5/bin/mysql

I don't know why but apache 2 has its own directory. So you have to add
the following to your $PATH:

/opt/local/apache2/bin

To find out which version of an application is used you can use the
following command. This prints the path to the application.

which apachectl

Hope this helps,
Simon
- --
+ privacy is necessary
+ using http://gnupg.org
+ public key id: 0x6115F804EFB33229
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGr5WsYRX4BO+zMikRCtBHAJ9WYtQUG8VVOzhUVA8jZbRgEsIingCbBRoN
fd5YL/zT9YwZn0kNwMC3kAc=
=McKx
-----END PGP SIGNATURE-----



More information about the macports-users mailing list