How do I restart Apache?

CentOS

Apache server can be restarted using the following command via SSH connection.

# service httpd restart

– or –

# /sbin/service httpd restart

Note: Apache service can also be restarted via the Plesk / CPanel Control Panel, if installed and access if available.


Was this article helpful?

Related guides