Dedicated server in which root access is given to the user is the only option where any service that you want can be restarted manually. You can restart the Apache service in below ways:
- WHM – For restarting your Apache service from the WHM panel, go to Restart Services -> HTTP Server (Apache). You will be asked for the confirmation for restarting the service. You can then take the action as per the preference.
- Command line – For restarting the Apache from the terminal, executing the following command is required after logging in the server via SSH:
11 /etc/init.d/httpd restart