HOME » Documents » KUSANAGI 9 Commands » httpd



Switches the web server in use to Apache HTTPD. It will also restart the service.


kusanagi httpd --use httpd24
kusanagi httpd


(No options)

If you are using nginx, it will switch to httpd.
If httpd is already running, it will restart httpd.

Using Apache httpd

[--use {installed | httpd24}]

Default: installed

Specifies the version of Apache httpd to be used. When this option is specified, the following Apache httpd will start up.

  • --use installed: The currently installed Apache httpd
  • --use httpd24: Apache httpd2.4

Reloading Configuration


Reloads configuration without disconnecting the session.

Checking Configuration Files


Checks the configuration files only.


# kusanagi httpd
Syntax OK
Removed /etc/systemd/system/multi-user.target.wants/nginx.service.
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service -> /usr/lib/systemd/system/httpd.service.
httpd completed.