hi,
why do I need -k in
sudo httpd -k restart ?
thanks
hi,
why do I need -k in
sudo httpd -k restart ?
thanks
That is how the command is written.
httpd [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ]
[ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|grace-
ful|stop|graceful-stop ] [ -R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [
-t ] [ -v ] [ -V ] [ -X ] [ -M ]
On Windows systems, the following additional arguments are available:
httpd [ -k install|config|uninstall ] [ -n name ] [ -w ]
ok. I've tried this:
sudo apachectl restart
and it works as well.
thanks