Hi I am getting error when trying to Edit PHP configuration error PHP 8.1 on CentOS 8
Error message: local variable ‘post_max_size’ referenced before assignment
Here is the screenshot:
I think the lsphp81 is not installed properly, I am using the latest stable version of CyberPanel.
I saw @usmannasir 's post for fixing similar issue for Ubuntu: Php 8.1 - #5 by usmannasir
But is there any solution for CentOS 8
Kernel version: https://centos.pkgs.org/8-stream/centos-baseos-x86_64/kernel-4.18.0-305.19.1.el8_4.x86_64.rpm.html
I see most of lsphp81 extensions are available for CentOS 8: Index of /centos/8/update/x86_64/RPMS/
I need these installed for * PHP v8.1
PHP Mbstring Extension
PHP PDO Extension
PHP FileInfo Extension
PHP JSON Extension
PHP CURL Extension
PHP symlink() function
PHP shell_exec() function
PHP file_get_contents() function
Kindly help so this can be resolved, I would really appreciate. Thanks