Which version of Apache am I running?
Jyrki Wahlstedt
jwa at macports.org
Wed Aug 1 05:10:44 PDT 2007
On 1.8.2007, at 14.58, Elise van Looij wrote:
> So that should ensure that the /opt/local/bin path always comes
> first, right? Your help is greatly appreciated: UNIX for Dummies
> (3rd edition) is not much help here.
>
Yes, but: apache2 directory, /opt/local/apache2/bin, is not included
there. If you want to include that, you could modify your ~/.profile
or ~/.bash_profile to include (provided that the installation is by
default):
PATH=/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:$PATH
Different shells use different inifiles, I'd say .bash_profile is the
safest. You see your shell with command 'echo $SHELL'.
For casual uses, which I'd expect the manual launches of Apache
software to be, it could be sufficient to write the path explicitly
(the tab key completes directory names).
!
! Jyrki Wahlstedt
! http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780
6366 EFD9 139C C386
More information about the macports-users
mailing list