With the help of "EasyApache" script we can easily update Apache in our cPanel VPS.

Run this script using following command from SSH:

It is in-built script from cPanel. You can also do the same by login to WHM account. Just follow the below steps:

1. Click on "EasyApache (Apache Update) from "Software" menu.
2. Select profile to load or Start customized one.
3. Check the options that you want to include.
4. Click Build.