Hello,
You can compile php with the CGI by using WHM -->
Service Configuration --> Configure PHP and SuExec -->Apache Configuration -->PHP and SuExec Configuration.
Some time some php script affect after that setting but you can easily solve that problem.