CentOS reload apache httpd config file without restarting server

I made change to my httpd.conf file on CentOS Linux. How do I reload my Apache (httpd) server without restarting the system or apache 2 server itself?

We run the following command as root user to reload httpd:

apachectl -k graceful
apachectl2 -k graceful
## OR ##
httpd -k graceful

Reloading apache httpd on CentOS 7 or 8

The command is

sudo systemctl reload httpd.service
# Verify it 
sudo systemctl status httpd.service

CentOS version 6.x or older reload command

sudo service httpd reload

See the following for more info


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki