To restart the Apache use this command
systemctl restart httpd
service httpd restart
Use this to rebuild the httpd/Apache
cp -v /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.$(date +%s).bak
/scripts/rebuildhttpdconf
service httpd restart