What's the difference between mod_php4, mod_php, and php?

Matt Alexander plug-discuss@lists.plug.phoenix.az.us
Sun, 15 Sep 2002 18:37:02 -0700 (PDT)


On Sun, 15 Sep 2002, Mark Berkwitt wrote:

> Using
> #locate chkconfig
> /usr/share/man/man8/chkconfig.8.gz
> /sbin/chkconfig
> #cd /sbin
> #chkconfig httpd on
> bash: chkconfig: command not found
> ?

/sbin is not in the $PATH that is searched for regular users.  So when you
changed to root using the "su" command, you still had the $PATH from the
user you logged in as.  Adding a dash after su will give you the root
$PATH, like this:

su -

You can also type the full path to the command:

/sbin/chkconfig httpd off
/sbin/chkconfig httpd on

or change to /sbin and run it directly:

cd /sbin
./chkconfig httpd off
./chkconfig httpd on

The "./" says to run the command in the directory that you're currently
sitting in.
~M