CyberPanel Community

PHP 7.4 Error in CyberPanel

4 replies
Wy
Wyzzy #2

I have this issue too, but for php 8.0

sn
snappy #3

When you select PHP 7.4

Error Viewable from after refreshng…

Also gives the following error when [BASIC] tab is selected

cat: /usr/local/lsws/lsphp74/etc/php/7.4/litespeed/php.ini
Error message: local variable ‘post_max_size’ referenced before assignment

Note does not change to PHP 7.4 although there is a ‘Successfully changed’ message.
Can also verify that it uses previous version of php by running <?php phpinfo(); ?>

sn
snappy #4

Left Main Menu Server > PHP > Edit PHP Configs appears to change to 7.4 but and you get a successfully changed message but really does not change to 7.4. Can be verified by executing a page with <?php phpinfo(); ?>

Jo
JonBraun #5

Same problem I want to upgrade to PHP 8, but I get an error, how to fix it ???
Error message:local variable ‘post_max_size’ referenced before assignment

Sign in to reply