Hello,
I have try many time from cwp panel php selector version o compile multiple php versions 7/8 but no luck at all. its just stuck between compile and no decline or error shows just stuck. and once i back after restart apache its just shows the default install 5.6 version with broken modules.
screen shot attach for php -v and compile rebuild log file
(https://i.ibb.co/7xMzz5d9/2.jpg) (https://ibb.co/cKfvvHSm)
Sadly this seems to be an ongoing bug with CWP (either free or Pro versions). There is a workaround mentioned in this thread where you capture the temporary PHP build script and run it manually in the CLI and then it will complete successfully:
https://forum.centos-webpanel.com/php-selector/unable-to-compile-any-version-with-php-switcher-and-selector-fpm-selector/msg51725/#msg51725
But the php-fpm Selector in CWP Pro does work -- so if you purchase a license, php-fpm would work for you (and you get the performance benefits as well).
Could be something running the beta OS CentOS 8, which is way past EOL and support libraries are not available anymore.
CWP should be run with AlmaLinux 8 or 9.
Just setup a server yesterday with CWP and PHP 8.0.x on AlmaLinux 9.
No problems.