I solved installing manually the library with yum and completed installation of CentOS Web Panel.
But the PHP don't work. If I put phpinfo file in htdocs the php code does not run.
I tried to uninstall all php versions and packages with yum and I start compiling php 5.6.29 (recommended) with PHP switcher of CWPanel and it goes to the end with no errors.
Both CWPanel dashboard and "php -v" ssh command shows correctly 5.6.29 version installed with no errors.
But the php info code don't run at all.
All I get when I go on the link is the content of the file, the code printed (not executed):
<?php
phpinfo();
?>
Why?
What I have to do to have PHP working?
Thank you very much