Question: how to enable gzip compression in cpanel?
Answer: Go to yourdomain.com/cpanel and log in.
Look for Optimize Website entry (SOFTWARE cPanel section)
Here you have 3 options: ... 
So, choose the second option and click the Update Settings button. ... 
Your site is using now gzip compression.