aaP_thomas_marcelino
that you use a virtual machine to install debian10 or ubuntu 20 to check whether the following directories are consistent with your manual installation?
Or that you modify the installation script to support debian11. The openlitespeed installed on debian 11 may cause the problem that lsphp has no php.ini file or is empty
/www/server/panel/install/openlitespeed.sh
/usr/local/lsws/conf
/www/server/panel/vhost/openlitespeed/
/www/server/panel/vhost/openlitespeed/listen/