New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

PHP 8.1 8.0 7 Not able to install and compile in Centos 8 (Free CWP)

Started by feronso, September 11, 2025, 08:03:46 AM

Previous topic - Next topic

feronso

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


overseer

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).

Starburst

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.