PHP 8.0 issues (errors and failures in CyberPanel)

Hi there,

CHANGE PHP VERSION
I am trying to change the PHP version on a website to v8.0 using the Change PHP tool. It says it’s changed, but it continues to use version 7.4.25.

After leaving the “manage website” page for that site, and returning, it has 8.0 selected in the “Change PHP” tool. If I hit the change button again, it outputs, “Failed to change PHP version. Error message:”, with no actual error message.

Do you have any suggestions?

EDIT PHP CONFIGURATION
I also notice that if I try to use the Edit PHP Configuration tool, when I select php v8.0, CP shows this error, “Error message: local variable ‘post_max_size’ referenced before assignment”. No configuration options display. Just that error.

Why is that?

What is the output of

ls -la /usr/local/lsws

if you don’t see a lsphp80 folder then lsphp80 is not installed.

on Ubuntu you can install lsphp80 using apt-get install lsphp80*. This will install all lsphp80 packages you can also install selected packages as per you needs.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.