Control Web Panel

WebPanel => CentOS 8 Problems => Topic started by: feronso on September 11, 2025, 08:03:46 AM

Title: PHP 8.1 8.0 7 Not able to install and compile in Centos 8 (Free CWP)
Post by: feronso on September 11, 2025, 08:03:46 AM
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)
Title: Re: PHP 8.1 8.0 7 Not able to install and compile in Centos 8 (Free CWP)
Post by: overseer on September 11, 2025, 01:25:13 PM
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).
Title: Re: PHP 8.1 8.0 7 Not able to install and compile in Centos 8 (Free CWP)
Post by: Starburst on September 11, 2025, 05:44:55 PM
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.