If you've already installed CloudLinux on your server and you have an active CloudLinux license where you can't able to run CGI scripts, run the following command to install "mod_SUEXEC" which module allows to run CGI scripts on behalf of the specified user and group:
yum install ea-apache24-mod_suexec