You can rebuild Apache with ths script: /usr/local/cpanel/scripts/rebuildhttpdconf .
After that you can restart Apache with below commad to restart:
service httpd restart

You can also restart Apache in WHM:
Login to WHM >> Restart Services >> Here choose Apache to restart.

You can also follow guide to restart Apache service if you are new in linux.